From c32e8841d0c942d59d7bc547effe20fb64004310 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Mon, 15 Nov 2004 12:07:28 +0000 Subject: [PATCH] backport --- htdocs/javascript/xorg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 5969a39..b82853b 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -50,7 +50,7 @@ function auto_links() { fqdn = fqdn.replace(/^https?:\/\/([^\/]*)\/.*$/,'$1'); for(var i=0; i -1 ) continue; + if(!node.href || node.className == 'xdx' || node.href.indexOf('mailto:') > -1 || node.href.indexOf('javascript:')>-1) continue; if(node.href.indexOf(fqdn)<0 || node.className == 'popup') { node.onclick = function () { window.open(this.href); return false; }; } -- 2.1.4