summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/js/reload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/reload.js b/static/js/reload.js
index 0f167f1..711e95e 100644
--- a/static/js/reload.js
+++ b/static/js/reload.js
@@ -32,7 +32,7 @@ document.addEventListener("DOMContentLoaded", function() {
};
const fetchDepartures = () => {
- var fetchUrl = window.location.href;
+ var fetchUrl = window.location.href.split('#')[0];
if (fetchUrl.includes("?")) {
fetchUrl += "&ajax=1";
} else {