浏览代码

seems to be a typo

Gleb Stiblo 11 年之前
父节点
当前提交
271a445cd9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
                                             $.extend(isValid, { "pos": pos, "remove": matchRslt.index });
                                         }
-                                    } else if (chrs = "0" && pos <= matchRslt.index) {
+                                    } else if (chrs == "0" && pos <= matchRslt.index) {
                                         return false;
                                     }
                                 }