Quellcode durchsuchen

Fixed position in iOS 4.2+

@soyjavi vor 14 Jahren
Ursprung
Commit
09f0513303
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/boot/Lungo.Boot.Section.js

+ 1 - 1
src/boot/Lungo.Boot.Section.js

@@ -67,7 +67,7 @@ LUNGO.Boot.Section = (function(lng, undefined) {
     var _setPositionFixedInIOS = function(sections) {
         var environment = lng.Core.environment();
 
-        if (environment.os.name === 'ios' && environment.os.version >= '4.') {
+        if (environment.os.name === 'ios' && environment.os.version >= '4.2') {
             sections.style('position', 'fixed');
         }
     }