Browse Source

android fix 1

Robin Herbots 12 years ago
parent
commit
150462eb9a

+ 1 - 1
build.properties

@@ -7,7 +7,7 @@ distdir = dist
 
 build.major = 1
 build.minor = 3
-build.revision = 9
+build.revision = 10
 
 target = jquery.inputmask.bundle.js
 target.min = jquery.inputmask.bundle.min.js

+ 9 - 9
dist/jquery.inputmask.bundle.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2013 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 1.3.9
+* Version: 1.3.10
 */
 
 (function ($) {
@@ -78,11 +78,11 @@
 
             var iphone = navigator.userAgent.match(/iphone/i) != null;
             var android = navigator.userAgent.match(/android.*mobile safari.*/i) != null;
-            if (android) {
-                var browser = navigator.userAgent.match(/mobile safari.*/i);
-                var version = parseInt(new RegExp(/[0-9]+/).exec(browser));
-                android = version <= 533;
-            }
+            //if (android) {
+            //    var browser = navigator.userAgent.match(/mobile safari.*/i);
+            //    var version = parseInt(new RegExp(/[0-9]+/).exec(browser));
+            //    android = version <= 533;
+            //}
             var caretposCorrection = null;
 
             if (typeof fn == "string") {
@@ -1115,7 +1115,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 1.3.9
+Version: 1.3.10
 
 Optional extensions on the jquery.inputmask base
 */
@@ -1212,7 +1212,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2012 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 1.3.9
+Version: 1.3.10
 
 Optional extensions on the jquery.inputmask base
 */
@@ -1705,7 +1705,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 1.3.9
+Version: 1.3.10
 
 Optional extensions on the jquery.inputmask base
 */

File diff suppressed because it is too large
+ 19 - 19
dist/jquery.inputmask.bundle.min.js


File diff suppressed because it is too large
+ 15 - 15
dist/min/jquery.inputmask.js


+ 1 - 1
jquery.inputmask.jquery.json

@@ -8,7 +8,7 @@
 		"inputmask",
 		"mask"
     ],
-    "version": "1.3.9"
+    "version": "1.3.10"
     "author": {
         "name": "Robin Herbots",
         "url": "http://github.com/RobinHerbots/jquery.inputmask"

+ 5 - 5
js/jquery.inputmask.js

@@ -78,11 +78,11 @@
 
             var iphone = navigator.userAgent.match(/iphone/i) != null;
             var android = navigator.userAgent.match(/android.*mobile safari.*/i) != null;
-            if (android) {
-                var browser = navigator.userAgent.match(/mobile safari.*/i);
-                var version = parseInt(new RegExp(/[0-9]+/).exec(browser));
-                android = version <= 533;
-            }
+            //if (android) {
+            //    var browser = navigator.userAgent.match(/mobile safari.*/i);
+            //    var version = parseInt(new RegExp(/[0-9]+/).exec(browser));
+            //    android = version <= 533;
+            //}
             var caretposCorrection = null;
 
             if (typeof fn == "string") {