projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slight text change
[vchess.git]
/
client
/
src
/
main.js
diff --git
a/client/src/main.js
b/client/src/main.js
index
6e22936
..
f1e23cb
100644
(file)
--- a/
client/src/main.js
+++ b/
client/src/main.js
@@
-17,14
+17,11
@@
new Vue({
{
let modalBoxes = document.querySelectorAll("[id^='modal']");
modalBoxes.forEach(m => {
{
let modalBoxes = document.querySelectorAll("[id^='modal']");
modalBoxes.forEach(m => {
- if (m.checked)
+ if (m.checked
&& m.id != "modalWelcome"
)
m.checked = false;
});
}
});
m.checked = false;
});
}
});
- // 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
+ store.initialize();
},
}).$mount("#app");
},
}).$mount("#app");