From 2adc1957fa29da43958fbae7418417f8682bb37e Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 3 Feb 2011 20:15:31 +0000 Subject: Only include the track/untrack JS when a user is logged in --- gentoobrowse/package.xslt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt index 4f85498..2d7107f 100644 --- a/gentoobrowse/package.xslt +++ b/gentoobrowse/package.xslt @@ -21,6 +21,7 @@ } document.getElementById(name).className = 'tabvisible'; } + function track(pid) { xmlhttp = new XMLHttpRequest(); @@ -43,6 +44,7 @@ document.getElementById("dotrack").style.display = "inline"; } } + -- cgit v1.2.3