projects
/
web
/
MichiganTrailMaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2155ee
)
Switch to a local external.js file.
author
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:43:23 +0000
(15:43 +0000)
committer
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:43:23 +0000
(15:43 +0000)
libjs/external.js
patch
|
blob
|
history
diff --git
a/libjs/external.js
b/libjs/external.js
index
09d70c1
..
ab6ef2c
100755
(executable)
--- 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();