浏览代码

minor fix for defaults

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

+ 1 - 1
jquery.inputmask.js

@@ -99,7 +99,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                 });
                 });
             }
             }
         } if (typeof fn == "object") {
         } if (typeof fn == "object") {
-            opts = $.extend({}, defaults, fn);
+            opts = $.extend({}, $.inputmask.defaults, fn);
 
 
             //init buffer
             //init buffer
             var _buffer = getMaskTemplate();
             var _buffer = getMaskTemplate();