Compare commits

..

1 commit

Author SHA1 Message Date
ba08b2bfac
Hide slideshows 2023-11-06 20:31:52 +11:00

View file

@ -66,9 +66,6 @@ function setCurrentTab(tabber, tab, content) {
tab.classList.add("wds-is-current"); tab.classList.add("wds-is-current");
content.classList.add("wds-is-current"); content.classList.add("wds-is-current");
if (tab.dataset.hash) { if (tab.dataset.hash) {
let fragment = "#" + tab.dataset.hash; location.hash = "#" + tab.dataset.hash;
if (location.hash !== fragment) {
history.pushState(null, "", fragment);
}
} }
} }