diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-06 23:30:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-06 23:30:15 +0300 |
commit | b66f638a81b8133b795a4757c3391afc87c54ba3 (patch) | |
tree | edd7191cf7ee328ee8faea105c0dc2f91cfa3c07 /src/js/menu-magic.js | |
parent | a4097105989dbde323c7b21426ca3437e8ac8be0 (diff) | |
download | arching-kaos-web-ui-b66f638a81b8133b795a4757c3391afc87c54ba3.tar.gz arching-kaos-web-ui-b66f638a81b8133b795a4757c3391afc87c54ba3.tar.bz2 arching-kaos-web-ui-b66f638a81b8133b795a4757c3391afc87c54ba3.zip |
Introduced SPA router and make use of it
Diffstat (limited to 'src/js/menu-magic.js')
-rw-r--r-- | src/js/menu-magic.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/menu-magic.js b/src/js/menu-magic.js index b4ee247..7abd050 100644 --- a/src/js/menu-magic.js +++ b/src/js/menu-magic.js @@ -44,7 +44,8 @@ function menuinit(){ */ function menusel(m){ menuinit(); - document.querySelector(m.id.replace('/','')).hidden=false; + // document.querySelector(m.id.replace('/','')).hidden=false; + locationHashSetter(m.id); mainContainer.style.display = 'block'; if ( isMobile ) { |