projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TODO: fix draw logic
[vchess.git]
/
client
/
src
/
components
/
Language.vue
diff --git
a/client/src/components/Language.vue
b/client/src/components/Language.vue
index
ac4faa7
..
c701e59
100644
(file)
--- a/
client/src/components/Language.vue
+++ b/
client/src/components/Language.vue
@@
-29,7
+29,7
@@
export default {
};
},
mounted: function() {
};
},
mounted: function() {
- //
TODO
: better style would be in pug directly, but how?
+ //
NOTE
: better style would be in pug directly, but how?
document.querySelectorAll("#langSelect > option").forEach(opt => {
if (opt.value == this.st.lang)
opt.selected = true;
document.querySelectorAll("#langSelect > option").forEach(opt => {
if (opt.value == this.st.lang)
opt.selected = true;