projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix chat issues when launching a game
[vchess.git]
/
client
/
src
/
main.js
diff --git
a/client/src/main.js
b/client/src/main.js
index
6714939
..
674852d
100644
(file)
--- 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() };
},
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");
// NOTE: at this point, variants and tr(anslations) might be uninitialized
},
}).$mount("#app");