projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started code review + some fixes (unfinished)
[vchess.git]
/
client
/
src
/
App.vue
diff --git
a/client/src/App.vue
b/client/src/App.vue
index
012b1c2
..
9879e27
100644
(file)
--- a/
client/src/App.vue
+++ b/
client/src/App.vue
@@
-53,17
+53,17
@@
export default {
ContactForm,
Language,
Settings,
ContactForm,
Language,
Settings,
- UpsertUser
,
+ UpsertUser
},
data: function() {
return {
},
data: function() {
return {
- st: store.state
,
+ st: store.state
};
},
computed: {
flagImage: function() {
return `/images/flags/${this.st.lang}.svg`;
};
},
computed: {
flagImage: function() {
return `/images/flags/${this.st.lang}.svg`;
- }
,
+ }
},
mounted: function() {
let dialogs = document.querySelectorAll("div[role='dialog']");
},
mounted: function() {
let dialogs = document.querySelectorAll("div[role='dialog']");
@@
-73,12
+73,11
@@
export default {
},
methods: {
hideDrawer: function(e) {
},
methods: {
hideDrawer: function(e) {
- if (e.target.innerText == "Forum")
- return; //external link
+ if (e.target.innerText == "Forum") return; //external link
e.preventDefault(); //TODO: why is this needed?
document.getElementsByClassName("drawer")[0].checked = false;
e.preventDefault(); //TODO: why is this needed?
document.getElementsByClassName("drawer")[0].checked = false;
- }
,
- }
,
+ }
+ }
};
</script>
};
</script>