mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
@@ -167,3 +167,7 @@ $(function () {
|
||||
var activeTab = $('[href=' + location.hash + ']');
|
||||
activeTab && activeTab.tab('show');
|
||||
});
|
||||
// Change hash for save and reload
|
||||
$('.nav-tabs a').on('shown.bs.tab', function (e) {
|
||||
window.location.hash = e.target.hash;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user