X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fmain.js;h=674852db31eae7ee96844b5c9f56eaff48423f06;hb=7b3cf1b79954a47000527dd0c3f0fc1cecb5315d;hp=6714939b6c544cc982a8dbbbb35740f21fbe97cd;hpb=5f13148449c73de92993b7961c077167563b84e5;p=vchess.git diff --git a/client/src/main.js b/client/src/main.js index 6714939b..674852db 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -12,7 +12,9 @@ new Vue({ }, created: function() { window.doClick = (elemId) => { document.getElementById(elemId).click() }; - store.initialize(this.$route.path); + // TODO: why is this wrong? + //store.initialize(this.$route.path); + store.initialize(window.location.href.split("#")[1]); // NOTE: at this point, variants and tr(anslations) might be uninitialized }, }).$mount("#app");