From aad6223d1e15694169204de2397df4197bf9c759 Mon Sep 17 00:00:00 2001
From: Yong <130093586+yonghuang28@users.noreply.github.com>
Date: Fri, 7 Apr 2023 08:55:36 -0400
Subject: [PATCH] Add a dedicated Refresh button
The original onclick="history.go(0);" method only forces the browser to reload the page from the cache. But if we use iframes, that will not work as expected if we try/debug different parameters in URL(iframed). This dedicated button uses location.reload() method, which will reload the current URL in the parent window of the current frame. This will cause the entire parent window, including any frames or iframes, to reload, reflecting any changes made to the page.
PS: my first github pull-request, yeah! Still need to learn more JavaScript tho.
---
index.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index 65523dd..5b3dc2e 100644
--- a/index.html
+++ b/index.html
@@ -2349,11 +2349,10 @@
- 👋
+ 👋
- 👋
Reload Page
-
+ 👋