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:
e877b32
)
Switch to a local external.js file.
author
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:38:14 +0000
(15:38 +0000)
committer
Leif Hanson
<leif@gaslightmedia.com>
Mon, 9 Sep 2013 15:38:14 +0000
(15:38 +0000)
libjs/external.js
patch
|
blob
|
history
diff --git
a/libjs/external.js
b/libjs/external.js
index
44277e8
..
378c113
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($(this).attr('href'));
if( !urlPattern.test(this.href)
&& !$(this).hasClass('thickbox')
&& !$(this).hasClass('colorbox')