diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-13 18:14:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-13 18:14:15 +0300 |
commit | 96cd1935f750a875c2bce348958f954a6b2b495b (patch) | |
tree | a3355f67569d646eea5f3b98dffef5bf33074889 /src/js/arching-kaos-spa-router.js | |
parent | f6fc624b2a4c5fff80e8e070b5cb065bcced0aed (diff) | |
download | arching-kaos-web-ui-96cd1935f750a875c2bce348958f954a6b2b495b.tar.gz arching-kaos-web-ui-96cd1935f750a875c2bce348958f954a6b2b495b.tar.bz2 arching-kaos-web-ui-96cd1935f750a875c2bce348958f954a6b2b495b.zip |
workaround
Diffstat (limited to 'src/js/arching-kaos-spa-router.js')
-rw-r--r-- | src/js/arching-kaos-spa-router.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/js/arching-kaos-spa-router.js b/src/js/arching-kaos-spa-router.js index 162f1e2..c1cf13a 100644 --- a/src/js/arching-kaos-spa-router.js +++ b/src/js/arching-kaos-spa-router.js @@ -29,6 +29,14 @@ function locationHashOnChange(){ menuinit(); if ( (locationHashGetter() !== 'undefined') && (locationHashGetter() === '') ){ document.querySelector('#welcome-section').hidden=false; + } + else if ( route.args[1] == "route" ) { + document.querySelector('#welcome-section').hidden=false; + if ( route.args.length === 4 ) { + if ( route.args[2] === "zblock" ) { + seekZblock(route.args[3], ['search', false]); + } + } } else if ( (locationHashGetter() !== 'undefined') && ( menuids.includes(route.menuid))){ document.querySelector(route.menuid).hidden=false; } else { |