Commit 889ac60b authored by terry%netscape.com's avatar terry%netscape.com

Don't try to run our javascript if running on IE4.

parent 19ca3aa8
......@@ -225,11 +225,16 @@ for $p (@::legal_product) {
}
$i = 0;
$jscript .= "
$jscript .= q{
// Only display versions/components valid for selected product(s)
function selectProduct(f) {
// Apparently, IE4 chokes on the below, so do nothing if running that.
var agt=navigator.userAgent.toLowerCase();
if ((agt.indexOf("msie") != -1) &&
(parseInt(navigator.appVersion) == 4)) return;
var cnt = 0;
var i;
var j;
......@@ -309,7 +314,9 @@ function selectProduct(f) {
}
// -->
</script>\n";
</script>
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment