Switch to a local external.js file.
authorLeif Hanson <leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:51:51 +0000 (15:51 +0000)
committerLeif Hanson <leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:51:51 +0000 (15:51 +0000)
libjs/external.js

index 2919d53..b9d0b7f 100755 (executable)
@@ -8,7 +8,7 @@ $('a').each(function() {
    var urlPattern = new RegExp('/' + window.location.host + '/');
    console.log(window.location.host);
    console.log(this.href);
-   console.log(this.href.indexOf(window.location.host + "\n\n");
+   console.log(this.href.indexOf(window.location.host) + "\n\n");
    if(     !urlPattern.test(this.href)
         && !$(this).hasClass('thickbox')
         && !$(this).hasClass('colorbox')