]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix clean the remaining hash if not deepLink:true. 9407/head
authorArian Xhezairi <arian@xhezairi.com>
Fri, 25 Nov 2016 12:11:51 +0000 (13:11 +0100)
committerArian Xhezairi <arian@xhezairi.com>
Fri, 25 Nov 2016 12:11:51 +0000 (13:11 +0100)
js/foundation.tabs.js

index a6a607bc687648d1a09319a4d641fd246134f3d5..a6d0eada235712859348698a2eca1a9d395d874c 100644 (file)
@@ -246,7 +246,7 @@ class Tabs {
         history.replaceState({}, '', anchor);
       }
     } else {
-      location.hash = '';
+      history.replaceState({}, '', window.location.pathname);
     }
 
     /**