Commit bc66c0aa authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

(cherry picked from commit e6ee8423)
parent 35daf762
......@@ -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