diff options
author | Roman Gräf <roman.graef@gmail.com> | 2017-11-06 11:11:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 11:11:55 +0100 |
commit | 56ec2bd15c46d4c04c139ed3579982bb3489d648 (patch) | |
tree | 3a3f49ccfd18754acf93ba0c44f24f74a951c4dc | |
parent | c5b1d6d530f50a2b86b39f18dd22d248f1dae9a7 (diff) | |
download | ichtml-56ec2bd15c46d4c04c139ed3579982bb3489d648.tar.gz ichtml-56ec2bd15c46d4c04c139ed3579982bb3489d648.tar.bz2 ichtml-56ec2bd15c46d4c04c139ed3579982bb3489d648.zip |
Update default.js
-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]);
- }
}
|