浏览代码

Fix in checkval, .... I definitely need to add some unittest, ....

Robin Herbots 13 年之前
父节点
当前提交
844fa3006c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/jquery.inputmask.js

+ 1 - 1
js/jquery.inputmask.js

@@ -383,7 +383,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                                 lastMatch = checkPosition = pos;
                             } else {
                                 SetReTargetPlaceHolder(buffer, pos);
-                                if (isMask(i) && c == getPlaceHolder(i)) {
+                                if (c == getPlaceHolder(pos)) {
                                     checkPosition = pos;
                                     rtlMatch = pos;
                                 }