Return to functionplotresponse.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.98, 2012/08/17 13:08:11 | version 1.99, 2012/08/17 18:02:15 |
---|---|
Line 49 BEGIN { | Line 49 BEGIN { |
# Return a true value if HTML5 should be used. | # Return a true value if HTML5 should be used. |
sub useHTML5 { | sub useHTML5 { |
return 1; | if ($env{'browser.type'} eq 'chrome') { return 1; } |
if (($env{'browser.type'} eq 'safari') && | |
($env{'browser.os'} eq 'mac')) { return 1; } | |
return 0; | |
} | } |
# | # |