Some style improvements
[vchess.git] / client / src / main.js
index 7015362..f1e23cb 100644 (file)
@@ -17,14 +17,11 @@ new Vue({
       {
         let modalBoxes = document.querySelectorAll("[id^='modal']");
         modalBoxes.forEach(m => {
-          if (m.checked)
+          if (m.checked && m.id != "modalWelcome")
             m.checked = false;
         });
       }
     });
-    // TODO: why is this wrong? (Maybe because $route still uninitialized?)
-    //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");