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:
794123a
)
Switch to a local external.js file.
author
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:51:51 +0000
(15:51 +0000)
committer
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:51:51 +0000
(15:51 +0000)
libjs/external.js
patch
|
blob
|
history
diff --git
a/libjs/external.js
b/libjs/external.js
index
2919d53
..
b9d0b7f
100755
(executable)
--- a/
libjs/external.js
+++ b/
libjs/external.js
@@
-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')