aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 04dee03..1586c5c 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -90,7 +90,7 @@ function startLesson()
// set the cookie and reload to start the session
createCookie("class_cookie", cookieString, 1);
// reload, preventing Firefox from resubmitting POST data
- window.location.assign(document.URL);
+ window.location.assign(document.URL.split("#")[0]);
}
// end a class
@@ -193,7 +193,7 @@ function leftClockToggle()
createCookie("clock_cookie", "1", 1);
// reload, preventing Firefox from resubmitting POST data
- window.location.assign(document.URL);
+ window.location.assign(document.URL.split("#")[0]);
}
// function to make a FlipClock with a few additional features. Not