aboutsummaryrefslogtreecommitdiff
path: root/src/client/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/js')
-rw-r--r--src/client/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/js/main.js b/src/client/js/main.js
index 839c33a..04ccfd0 100644
--- a/src/client/js/main.js
+++ b/src/client/js/main.js
@@ -1,11 +1,11 @@
-// Remove query params
+// Remove search query
window.history.pushState(
{
html: document.documentElement.innerHTML,
pageTitle: document.title
},
'',
- document.location.pathname
+ document.location.pathname + document.location.hash
);
var app = Elm.Main.fullscreen({