aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/arching-kaos-spa-router.js8
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 {