diff options
Diffstat (limited to 'res/default.js')
-rw-r--r-- | res/default.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/default.js b/res/default.js index ecbef48..30c0ea4 100644 --- a/res/default.js +++ b/res/default.js @@ -23,6 +23,10 @@ var refs = {}; function load(id){
var item = refs[id];
+ let tag = location.href.split("#");
+ if(tag.length>1){
+ location.href = tag[0];
+ }
load_(item.url, item.name);
}
|