Better menu ordering ?
[vchess.git] / client / src / main.js
index 2d855b8..f1e23cb 100644 (file)
@@ -17,12 +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;
         });
       }
     });
-    // NOTE: store.initialize(this.$route.path); doesn't work
-    store.initialize(window.location.href.split("#")[1].split("?")[0]);
+    store.initialize();
   },
 }).$mount("#app");