From: Leif Hanson Date: Mon, 9 Sep 2013 15:53:05 +0000 (+0000) Subject: Switch to a local external.js file. X-Git-Tag: v1.0~42 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e3e3edb1e124f8d3fdee49e70357d50de4537a63;p=web%2FMichiganTrailMaps.git Switch to a local external.js file. --- diff --git a/libjs/external.js b/libjs/external.js index b9d0b7f..e3357bf 100755 --- a/libjs/external.js +++ b/libjs/external.js @@ -18,7 +18,7 @@ $('a').each(function() { && ($(this).attr('href') != "#") && ($(this).attr('href') != "") && ($(this).attr('href') != null) - && (this.href.indexOf(window.location.host) >= 0) + && (this.href.indexOf(window.location.host) < 0) ) { $(this).click(function(event) { event.preventDefault();