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:
4c5f880
)
Switch to a local external.js file.
author
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:39:04 +0000
(15:39 +0000)
committer
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:39:04 +0000
(15:39 +0000)
libjs/external.js
patch
|
blob
|
history
diff --git
a/libjs/external.js
b/libjs/external.js
index
378c113
..
a873acd
100755
(executable)
--- a/
libjs/external.js
+++ b/
libjs/external.js
@@
-6,6
+6,7
@@
$('a').each(function() {
var urlPattern = new RegExp('/' + window.location.host + '/');
+ console.log(window.location.host);
console.log($(this).attr('href'));
if( !urlPattern.test(this.href)
&& !$(this).hasClass('thickbox')