From 7f4a8568c8032c8d57c42823dab5869e7264fe01 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Mon, 6 Nov 2017 11:17:20 +0100 Subject: Update default.js --- res/default.js | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- cgit