Explorar o código

Fixed position in iOS 4.2+

@soyjavi %!s(int64=14) %!d(string=hai) anos
pai
achega
09f0513303
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');
         }
     }