mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-03-05 13:40:27 -05:00
Prevent making duplicate history entries
This commit is contained in:
@@ -67,6 +67,5 @@ function setCurrentTab(tabber, tab, content) {
|
||||
content.classList.add("wds-is-current");
|
||||
if (tab.dataset.hash) {
|
||||
location.hash = "#" + tab.dataset.hash;
|
||||
history.pushState(null, "", "#" + tab.dataset.hash);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user