projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes
[vchess.git]
/
client
/
src
/
main.js
diff --git
a/client/src/main.js
b/client/src/main.js
index
9d2e73d
..
2d855b8
100644
(file)
--- a/
client/src/main.js
+++ b/
client/src/main.js
@@
-22,9
+22,7
@@
new Vue({
});
}
});
});
}
});
- // TODO: why is this wrong? (Maybe because $route still uninitialized?)
- //store.initialize(this.$route.path);
+ // NOTE: store.initialize(this.$route.path); doesn't work
store.initialize(window.location.href.split("#")[1].split("?")[0]);
store.initialize(window.location.href.split("#")[1].split("?")[0]);
- // NOTE: at this point, variants and tr(anslations) might be uninitialized
},
}).$mount("#app");
},
}).$mount("#app");