From: terry%mozilla.org <> Date: Wed, 9 Feb 2000 19:43:10 +0000 (+0000) Subject: Get rid of a bit of unused Javascript code. X-Git-Tag: bugzilla-2.12~393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b82ba9863530fb629e4a70ea5903976ad6fd547;p=thirdparty%2Fbugzilla.git Get rid of a bit of unused Javascript code. --- diff --git a/query.cgi b/query.cgi index bb4dfb527f..b82e811a3a 100755 --- a/query.cgi +++ b/query.cgi @@ -289,7 +289,6 @@ Array.prototype.push = array_push; var cpts = new Array(); var vers = new Array(); -var agt=navigator.userAgent.toLowerCase(); ENDSCRIPT @@ -328,7 +327,6 @@ $jscript .= q{ // Only display versions/components valid for selected product(s) function selectProduct(f) { - var agt=navigator.userAgent.toLowerCase(); // Netscape 4.04 and 4.05 also choke with an "undefined" // error. if someone can figure out how to "define" the // whatever, we'll remove this hack. in the mean time, we'll