Bug 320448 cvsview2.cgi DIFF_LINKS html is invalid

r=reed@reedloden.com
This commit is contained in:
timeless%mozdev.org 2005-12-15 21:45:56 +00:00
parent c168937f48
commit 2fcff968c8

View File

@ -462,7 +462,7 @@ $::use_dom = 0;
# MSIE chokes on |type="application/x-javascript"| so if we detect MSIE, we
# we should send |type="text/javascript"|. While we're at it, we should send
# |language="JavaScript"| for any browser that is "Mozilla/4" or older.
$::script_type = '"language="JavaScript""';
$::script_type = 'language="JavaScript"';
if (defined $ENV{HTTP_USER_AGENT}) {
my $user_agent = $ENV{HTTP_USER_AGENT};
if ($user_agent =~ m@^Mozilla/4.@ && $user_agent !~ /MSIE/) {