{
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");