From 3b038bdca2c9cf578d82c50ca9214635994d31be Mon Sep 17 00:00:00 2001 From: Leif Hanson Date: Mon, 9 Sep 2013 15:44:37 +0000 Subject: [PATCH] Switch to a local external.js file. --- libjs/external.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libjs/external.js b/libjs/external.js index ab6ef2c..00d8461 100755 --- a/libjs/external.js +++ b/libjs/external.js @@ -8,6 +8,7 @@ $('a').each(function() { var urlPattern = new RegExp('/' + window.location.host + '/'); console.log(window.location.host); console.log($(this).attr('href')); + console.log(window.location.host.indexOf($(this).attr('href')) + "\n\n"); if( !urlPattern.test(this.href) && !$(this).hasClass('thickbox') && !$(this).hasClass('colorbox') -- 2.17.1