projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe9a13
)
Fix current page in sockets.js
author
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 4 Feb 2020 09:24:10 +0000
(10:24 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 4 Feb 2020 09:24:10 +0000
(10:24 +0100)
client/src/main.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/main.js
b/client/src/main.js
index
7015362
..
9d2e73d
100644
(file)
--- a/
client/src/main.js
+++ b/
client/src/main.js
@@
-24,7
+24,7
@@
new Vue({
});
// TODO: why is this wrong? (Maybe because $route still uninitialized?)
//store.initialize(this.$route.path);
- store.initialize(window.location.href.split("#")[1]);
+ store.initialize(window.location.href.split("#")[1]
.split("?")[0]
);
// NOTE: at this point, variants and tr(anslations) might be uninitialized
},
}).$mount("#app");