Browse Source

tweak nojumps

Robin Herbots 11 years ago
parent
commit
10f2b00bfb
2 changed files with 1 additions and 1 deletions
  1. 1 0
      js/jquery.inputmask.js
  2. 0 1
      js/jquery.inputmask.phone.extensions.js

+ 1 - 0
js/jquery.inputmask.js

@@ -1352,6 +1352,7 @@
         };
 
         function multiMaskScope(el, masksets, opts) {
+            opts.nojumps = true;
             function caret(input, begin, end) {
                 var npt = input.jquery && input.length > 0 ? input[0] : input, range;
                 if (typeof begin == 'number') {

+ 0 - 1
js/jquery.inputmask.phone.extensions.js

@@ -45,7 +45,6 @@ When using this extension make sure you specify the correct url to get the masks
                 //maskList.splice(0, 0, "+p(ppp)ppp-pppp");
                 return maskList;
             },
-            nojumps: true,
             nojumpsThreshold: 4
         }
     });