summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-11-06 18:09:52 -0200
committerSilvio <silvio@socioambiental.org>2013-11-06 18:09:52 -0200
commit654c0176b40a485f8d4a25c8c25594a966191593 (patch)
tree35668b89cb6059a396011a9677a90dae5ff6a13e
parent61a6e1ba091442fa5051ec7e49f3f60496195ae2 (diff)
downloadtimelinejs-654c0176b40a485f8d4a25c8c25594a966191593.tar.gz
timelinejs-654c0176b40a485f8d4a25c8c25594a966191593.tar.bz2
Cleanup MakeMenuLinksOpenInNewWindow()
-rw-r--r--timelinejs.tpl.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php
index 7fef98d..de38569 100644
--- a/timelinejs.tpl.php
+++ b/timelinejs.tpl.php
@@ -17,11 +17,7 @@
function MakeMenuLinksOpenInNewWindow() {
var links = document.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
- if (links[i].protocol + '//' + links[i].hostname != "<?php global $base_url; print $base_url; ?>") {
- links[i].target = "_parent";
- }
- // FIXME
- //console.log(links[i].protocol + '//' + links[i].hostname + ' <?php print $base_url; ?>');
+ links[i].target = "_parent";
}
}