diff --git a/js/script.js b/js/script.js index aff11488165eaec624daa2ef2e5ea5d3b973d5cd..87012fb22df8809a27b4b13ccce5fb2aca1ab7ab 100644 --- a/js/script.js +++ b/js/script.js @@ -442,7 +442,7 @@ $.fn.foundationExtendEBI = function() { $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); - window.location.hash = target; + window.location.hash = this.hash; target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({