diff --git a/src/pg/patterns/core/tabs/_tabs.js b/src/pg/patterns/core/tabs/_tabs.js index 13d4f60..46a5859 100644 --- a/src/pg/patterns/core/tabs/_tabs.js +++ b/src/pg/patterns/core/tabs/_tabs.js @@ -1,4 +1,4 @@ -/* DS2 core (c) 2024–2026 Alexander McIlwraith +/* DS2 core (c) 2024-2026 Alexander McIlwraith Released under Creative Commons Attribution-ShareAlike 4.0 International */ @@ -154,7 +154,7 @@ export function init(container = document, spacer = true) { window.history.pushState( { tab: tabId }, "", - hash + `${location.pathname}${location.search}${hash}` ); pushStateCount++;