From c3b2254b9d62684e2c1fb4c50c77c9a3c59dedaf Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 16 Dec 2020 10:58:35 +0100 Subject: [PATCH] fix #172 --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 16c324a..defe9ef 100644 --- a/src/main.js +++ b/src/main.js @@ -28,11 +28,11 @@ export async function main(container) { preferences: new Preferences(window.localStorage), origin: location.origin, }); - vm.updateHash(location.hash); + vm.updateHash(decodeURIComponent(location.hash)); window.__rootvm = vm; const view = new RootView(vm); container.appendChild(view.mount()); window.addEventListener('hashchange', () => { - vm.updateHash(location.hash); + vm.updateHash(decodeURIComponent(location.hash)); }); }