Browse Source

seems to be a typo

Gleb Stiblo 11 years ago
parent
commit
271a445cd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/jquery.inputmask.numeric.extensions.js

+ 1 - 1
js/jquery.inputmask.numeric.extensions.js

@@ -156,7 +156,7 @@ Optional extensions on the jquery.inputmask base
                                             pos = pos > matchRslt.index ? pos - 1 : matchRslt.index;
                                             pos = pos > matchRslt.index ? pos - 1 : matchRslt.index;
                                             $.extend(isValid, { "pos": pos, "remove": matchRslt.index });
                                             $.extend(isValid, { "pos": pos, "remove": matchRslt.index });
                                         }
                                         }
-                                    } else if (chrs = "0" && pos <= matchRslt.index) {
+                                    } else if (chrs == "0" && pos <= matchRslt.index) {
                                         return false;
                                         return false;
                                     }
                                     }
                                 }
                                 }