Compare commits

..

2 commits

Author SHA1 Message Date
ba08b2bfac
Hide slideshows 2023-11-06 20:31:52 +11:00
dcb8a8a590
Prevent making duplicate history entries 2023-11-06 20:31:20 +11:00

View file

@ -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);
} }
} }