Commit 703a4034 authored by Ad Schellevis's avatar Ad Schellevis

(firmware) fix navigation

parent 77269844
...@@ -462,6 +462,9 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -462,6 +462,9 @@ POSSIBILITY OF SUCH DAMAGE.
$('.nav-tabs a').on('shown.bs.tab', function (e) { $('.nav-tabs a').on('shown.bs.tab', function (e) {
history.pushState(null, null, e.target.hash); history.pushState(null, null, e.target.hash);
}); });
$(window).on('hashchange', function(e) {
$('a[href="' + window.location.hash + '"]').click()
});
}); });
</script> </script>
......
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