Browse Source

ann ames fix

https://github.com/andr-04/inputmask-multi/issues/8

Note that jquery.inputmask-multi.js will be removed once the alternator syntax is mature enough.
Robin Herbots 11 years ago
parent
commit
a097dd73bb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/jquery.inputmask-multi.js

+ 2 - 2
js/jquery.inputmask-multi.js

@@ -192,10 +192,10 @@
                             determineActiveMask("multiMaskScope", elmasks);
                             return false;
                         }
-                        if (e.ctrlKey || e.shiftKey || e.altKey) {
+                        if (e.ctrlKey || k == opts.keyCode.SHIFT || e.altKey) {
                             return true;
                         }
-                    } else if (e.type == "keypress" && (e.ctrlKey || e.shiftKey || e.altKey)) {
+                    } else if (e.type == "keypress" && (e.ctrlKey || k == opts.keyCode.SHIFT || e.altKey)) {
                         return true;
                     }
                     $.each(elmasks, function (ndx, lmnt) {