diff options
-rw-r--r-- | timelinejs.tpl.php | 6 |
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"; } } |