From: Arian Xhezairi Date: Fri, 25 Nov 2016 12:11:51 +0000 (+0100) Subject: Fix clean the remaining hash if not deepLink:true. X-Git-Tag: v6.3-rc1~11^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9407%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix clean the remaining hash if not deepLink:true. --- diff --git a/js/foundation.tabs.js b/js/foundation.tabs.js index a6a607bc6..a6d0eada2 100644 --- a/js/foundation.tabs.js +++ b/js/foundation.tabs.js @@ -246,7 +246,7 @@ class Tabs { history.replaceState({}, '', anchor); } } else { - location.hash = ''; + history.replaceState({}, '', window.location.pathname); } /**