Robin Herbots 9 years ago
parent
commit
56cd1e9f4c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      js/inputmask.js

+ 1 - 1
README.md

@@ -998,7 +998,7 @@ Specify the inputmode  - already in place for when browsers start to  support th
 https://html.spec.whatwg.org/#input-modalities:-the-inputmode-attribute
 
 ### colorMask
-Default: null (~false)
+Default: false
 Create a css styleable mask.
 Uses css classes: im-caret, im-static.
 

+ 1 - 1
js/inputmask.js

@@ -122,7 +122,7 @@
 			positionCaretOnClick: "lvp", //none, lvp (based on the last valid position (default), radixFocus (position caret to radixpoint on initial click)
 			casing: null, //mask-level casing. Options: null, "upper", "lower" or "title"
 			inputmode: "verbatim", //specify the inputmode  - already in place for when browsers will support it
-			colorMask: null, //enable css styleable mask
+			colorMask: false, //enable css styleable mask
 		},
 		masksCache: {},
 		mask: function (elems) {