[LON-CAPA-cvs] cvs: loncom /homework functionplotresponse.pm

raeburn raeburn at source.lon-capa.org
Sat Apr 4 08:36:49 EDT 2015


raeburn		Sat Apr  4 12:36:49 2015 EDT

  Modified files:              
    /loncom/homework	functionplotresponse.pm 
  Log:
  - use HTML5 for Safari on iOS 8.
  
  
Index: loncom/homework/functionplotresponse.pm
diff -u loncom/homework/functionplotresponse.pm:1.108 loncom/homework/functionplotresponse.pm:1.109
--- loncom/homework/functionplotresponse.pm:1.108	Mon Mar  9 16:22:59 2015
+++ loncom/homework/functionplotresponse.pm	Sat Apr  4 12:36:49 2015
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # Functionplot responses
 #
-# $Id: functionplotresponse.pm,v 1.108 2015/03/09 16:22: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 @@
     } 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') {




More information about the LON-CAPA-cvs mailing list