ソースを参照

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;
                                 }