forked from cadence/breezewiki
Compare commits
1 commit
ba08b2bfac
...
54cb681972
Author | SHA1 | Date | |
---|---|---|---|
54cb681972 |
1 changed files with 1 additions and 0 deletions
|
@ -67,5 +67,6 @@ function setCurrentTab(tabber, tab, content) {
|
||||||
content.classList.add("wds-is-current");
|
content.classList.add("wds-is-current");
|
||||||
if (tab.dataset.hash) {
|
if (tab.dataset.hash) {
|
||||||
location.hash = "#" + tab.dataset.hash;
|
location.hash = "#" + tab.dataset.hash;
|
||||||
|
history.pushState(null, "", "#" + tab.dataset.hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue