diff --git a/bin/Controls/NavTabs.js b/bin/Controls/NavTabs.js index 3e78e05fb48264d1675e7b906bc1bf51841f2d7c..b12f2562d7fa118f1dfc1b2000ab215e49c53e0c 100644 --- a/bin/Controls/NavTabs.js +++ b/bin/Controls/NavTabs.js @@ -120,6 +120,11 @@ define('package/quiqqer/menu/bin/Controls/NavTabs', [ self.$setNavItemPos(NavTabItem); self.toggle(NavTabItem, target); + + const url = window.location.href; + const newUrl = url.split('#')[0] + '#open_' + target; + + history.pushState(null, null, newUrl); } this.navTabsItems.addEvent('click', clickEvent);