Browse Source

getemptymask fix to return string instead of list of symbols.

Andrey Egorov 9 years ago
parent
commit
445644b324
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/inputmask.js

+ 1 - 1
js/inputmask.js

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