We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ea67b0 + 45d5620 commit 29b7a32Copy full SHA for 29b7a32
js/foundation.tabs.js
@@ -269,9 +269,9 @@ class Tabs extends Plugin {
269
//either replace or update browser history
270
if (this.options.deepLink && !historyHandled) {
271
if (this.options.updateHistory) {
272
- history.pushState({}, '', anchor);
+ history.pushState({}, '', location.pathname + location.search + anchor);
273
} else {
274
- history.replaceState({}, '', anchor);
+ history.replaceState({}, '', location.pathname + location.search + anchor);
275
}
276
277
0 commit comments