Browse Source

tweak inputevent

Robin Herbots 12 years ago
parent
commit
527987a6b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/jquery.inputmask.js

+ 1 - 1
js/jquery.inputmask.js

@@ -1184,7 +1184,7 @@
                 if (currentValue.charAt(caretPos.begin) != getActiveBuffer()[caretPos.begin] && !isMask(caretPos.begin)) {
                     e.keyCode = opts.keyCode.BACKSPACE;
                     setTimeout(function() {
-                        keydownEvent.call(this, e);
+                        keydownEvent.call(input, e);
                     }, 0);
                 } else {
                     checkVal(input, false, false);