]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update non-deep-link case to behave same as old behavior
authorKevin Ball <kmball11@gmail.com>
Thu, 1 Dec 2016 17:22:54 +0000 (09:22 -0800)
committerKevin Ball <kmball11@gmail.com>
Thu, 1 Dec 2016 17:22:54 +0000 (09:22 -0800)
js/foundation.tabs.js

index a6d0eada235712859348698a2eca1a9d395d874c..770fca8caed3e6d00e29b5b9ba0f8482a258daf5 100644 (file)
@@ -245,8 +245,6 @@ class Tabs {
       } else {
         history.replaceState({}, '', anchor);
       }
-    } else {
-      history.replaceState({}, '', window.location.pathname);
     }
 
     /**