浏览代码

getemptymask fix to return string instead of list of symbols.

Andrey Egorov 9 年之前
父节点
当前提交
445644b324
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/inputmask.js

+ 1 - 1
js/inputmask.js

@@ -2768,7 +2768,7 @@
 
 
 						return isComplete(buffer) && actionObj.value === getBuffer().join("");
 						return isComplete(buffer) && actionObj.value === getBuffer().join("");
 					case "getemptymask":
 					case "getemptymask":
-						return getBufferTemplate();
+						return getBufferTemplate().join("");
 					case "remove":
 					case "remove":
 						el = actionObj.el;
 						el = actionObj.el;
 						$el = $(el);
 						$el = $(el);