Browse Source

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

Robin Herbots 13 years ago
parent
commit
844fa3006c
1 changed files with 1 additions and 1 deletions
  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;
                                 }