diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/default.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/default.js b/res/default.js index bdb87e4..ecbef48 100644 --- a/res/default.js +++ b/res/default.js @@ -66,9 +66,9 @@ function onload() { el.appendChild(atag);
});
el.lastChild.classList.add('sidebar-last');
+ let tag = location.href.split("#");
+ if(tag.length > 1){
+ load(tag[1]);
+ }
});
- let tag = location.href.split("#");
- if(tag.length > 1){
- load(tag[1]);
- }
}
|