From 4be5ba98d0020887d0fb1c49ed7832fcf11eed2c Mon Sep 17 00:00:00 2001 From: Leif Hanson Date: Mon, 9 Sep 2013 15:43:23 +0000 Subject: [PATCH] Switch to a local external.js file. --- libjs/external.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libjs/external.js b/libjs/external.js index 09d70c1..ab6ef2c 100755 --- a/libjs/external.js +++ b/libjs/external.js @@ -17,8 +17,7 @@ $('a').each(function() { && ($(this).attr('href') != "#") && ($(this).attr('href') != "") && ($(this).attr('href') != null) - && (window.location.host != "dev53.gaslightmedia.com") - && (window.location.host != "dev53") + && (window.location.host.indexOf($(this).attr('href')) >= 0) ) { $(this).click(function(event) { event.preventDefault(); -- 2.17.1