diff options
author | Joris | 2016-03-28 17:51:14 +0200 |
---|---|---|
committer | Joris | 2016-03-28 17:51:14 +0200 |
commit | 166cd04e4b28770ede854dafc9ae30eae64102fe (patch) | |
tree | 2245a31243a165acc6f7355534da44cfd17e6038 /src/client/js | |
parent | b0d80a5458d7ba4546e5f01f5b6398ea6d23f981 (diff) |
Create an empty but reachable user page
Diffstat (limited to 'src/client/js')
-rw-r--r-- | src/client/js/main.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/js/main.js b/src/client/js/main.js index 0928ab5..1ab1287 100644 --- a/src/client/js/main.js +++ b/src/client/js/main.js @@ -1,9 +1,10 @@ // Remove query params -window.history.pushState({html: document.documentElement.innerHTML, pageTitle: document.title}, '', '/'); +window.history.pushState({html: document.documentElement.innerHTML, pageTitle: document.title}, '', location.pathname); Elm.fullscreen(Elm.Main, { initialTime: new Date().getTime(), translations: document.getElementById('messages').innerHTML, conf: document.getElementById('conf').innerHTML, - signInError: document.getElementById('signInError').innerHTML + signInError: document.getElementById('signInError').innerHTML, + location: location.pathname }); |