Convert all remaining tabs by 2spaces
[vchess.git] / client / src / components / Language.vue
index 5c7e1e5..d35d8e2 100644 (file)
@@ -7,7 +7,7 @@ div
       "fr": "Français",
     };
   input#modalLang.modal(type="checkbox")
-  div(role="dialog")
+  div(role="dialog" data-checkbox="modalLang")
     #language.card
       label.modal-close(for="modalLang")
       form(@change="setLanguage")
@@ -29,7 +29,7 @@ export default {
     };
   },
   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;
@@ -40,6 +40,6 @@ export default {
       localStorage["lang"] = e.target.value;
       store.setLanguage(e.target.value);
     },
-       },
+  },
 };
 </script>