Commit e6ee8423 authored by Ad Schellevis's avatar Ad Schellevis

(ids) add url change on tab change / quick nav

parent ffc5ef3a
......@@ -376,6 +376,14 @@ POSSIBILITY OF SUCH DAMAGE.
loadGeneralSettings();
updateStatus();
// 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