2 import App
from "./App.vue";
3 import router
from "./router";
4 import { store
} from "./store";
6 Vue
.config
.productionTip
= false;
14 window
.doClick
= (elemId
) => { document
.getElementById(elemId
).click() };
15 document
.addEventListener("keydown", (e
) => {
16 if (e
.code
=== "Escape")
18 let modalBoxes
= document
.querySelectorAll("[id^='modal']");
19 modalBoxes
.forEach(m
=> {
25 // TODO: why is this wrong? (Maybe because $route still uninitialized?)
26 //store.initialize(this.$route.path);
27 store
.initialize(window
.location
.href
.split("#")[1].split("?")[0]);
28 // NOTE: at this point, variants and tr(anslations) might be uninitialized