Line 10,474: | Line 10,474: | ||
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function () { | $('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function () { | ||
if ( | if ( | ||
− | location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname | + | location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) { |
− | + | ||
var target = $(this.hash); | var target = $(this.hash); | ||
target = target.length | target = target.length |
Revision as of 21:42, 27 October 2020