Commit 35daf762 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(proxy) change url on tabchange and add quick nav

(cherry picked from commit ffc5ef3a)
parent b0281d58
......@@ -147,6 +147,13 @@ POSSIBILITY OF SUCH DAMAGE.
});
});
// update history on tab state and implement navigation
if(window.location.hash != "") {
$('a[href="' + window.location.hash + '"]').click()
}
$('.nav-tabs a').on('shown.bs.tab', function (e) {
history.pushState(null, null, e.target.hash);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment