From 48459fe12a79db303fd7c0cd2ae64cf3bc8c85e9 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Mon, 6 Nov 2017 11:24:47 +0100 Subject: Update default.js --- res/default.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/res/default.js b/res/default.js index 30c0ea4..d3bfdd3 100644 --- a/res/default.js +++ b/res/default.js @@ -24,9 +24,7 @@ var refs = {}; function load(id){ var item = refs[id]; let tag = location.href.split("#"); - if(tag.length>1){ - location.href = tag[0]; - } + location.href = tag[0] + "#" + id; load_(item.url, item.name); } -- cgit