--- loncom/homework/functionplotresponse.pm 2015/03/10 15:43:59 1.105.2.1 +++ loncom/homework/functionplotresponse.pm 2015/04/04 12:36:49 1.109 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # Functionplot responses # -# $Id: functionplotresponse.pm,v 1.105.2.1 2015/03/10 15:43:59 raeburn Exp $ +# $Id: functionplotresponse.pm,v 1.109 2015/04/04 12:36:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -56,11 +56,8 @@ sub useHTML5 { } elsif ($env{'browser.type'} eq 'safari') { if ($env{'browser.os'} eq 'mac') { my ($prefix,$version) = ($env{'browser.version'} =~ /^(\d*)(\d{3})\./); - if ((!$env{'browser.mobile'}) || - (($env{'browser.mobile'}) && length($prefix))) { - if ($version >= 536) { - return 1; - } + if ($version >= 536) { + return 1; } } } elsif ($env{'browser.type'} eq 'mozilla') { @@ -1460,7 +1457,7 @@ sub start_functionplotresponse { my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval); if ($target eq 'edit') { $result.=&Apache::edit::start_table($token) - .'