浏览代码

tweak inputevent

Robin Herbots 12 年之前
父节点
当前提交
527987a6b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);