Add better support for tabs #15
1 changed files with 0 additions and 1 deletions
|
@ -67,6 +67,5 @@ 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