Change hash for save and reload

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2017-10-18 23:45:12 +01:00
parent 37313bf400
commit 1e105f1df6

View File

@@ -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;
})