From 654c0176b40a485f8d4a25c8c25594a966191593 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 6 Nov 2013 18:09:52 -0200 Subject: Cleanup MakeMenuLinksOpenInNewWindow() --- timelinejs.tpl.php | 6 +----- 1 file changed, 1 insertion(+), 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 != "") { - links[i].target = "_parent"; - } - // FIXME - //console.log(links[i].protocol + '//' + links[i].hostname + ' '); + links[i].target = "_parent"; } } -- cgit v1.2.3