浏览代码

minor for cache

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

+ 1 - 1
js/jquery.inputmask.js

@@ -639,7 +639,7 @@
                     }
                     }
                 }
                 }
 
 
-                if (false && cacheable !== false && getMaskSet()['tests'][pos] && !getMaskSet()['validPositions'][pos]) {
+                if (false && cacheable !== false && getMaskSet()['tests'][pos]) {
                     return getMaskSet()['tests'][pos];
                     return getMaskSet()['tests'][pos];
                 }
                 }
                 if (ndxIntlzr == undefined) {
                 if (ndxIntlzr == undefined) {