|
|
@@ -3,7 +3,7 @@
|
|
|
* https://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2017 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 3.3.5-8
|
|
|
+* Version: 3.3.5-10
|
|
|
*/
|
|
|
!function(factory) {
|
|
|
"function" == typeof define && define.amd ? define("inputmask", [ "inputmask.dependencyLib" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib")) : factory(window.dependencyLib || jQuery);
|
|
|
@@ -730,15 +730,15 @@
|
|
|
}
|
|
|
function renderColorMask(input, buffer, caretPos) {
|
|
|
function handleStatic() {
|
|
|
- static || null !== test.fn && void 0 !== testPos.input ? static && null !== test.fn && void 0 !== testPos.input && (static = !1,
|
|
|
- maskTemplate += "</span>") : (static = !0, maskTemplate += "<span class='im-static''>");
|
|
|
+ isStatic || null !== test.fn && void 0 !== testPos.input ? isStatic && null !== test.fn && void 0 !== testPos.input && (isStatic = !1,
|
|
|
+ maskTemplate += "</span>") : (isStatic = !0, maskTemplate += "<span class='im-static''>");
|
|
|
}
|
|
|
if (void 0 !== colorMask) {
|
|
|
buffer = buffer || getBuffer(), void 0 === caretPos ? caretPos = caret(input) : void 0 === caretPos.begin && (caretPos = {
|
|
|
begin: caretPos,
|
|
|
end: caretPos
|
|
|
});
|
|
|
- var maskTemplate = "", static = !1;
|
|
|
+ var maskTemplate = "", isStatic = !1;
|
|
|
if ("" != buffer) {
|
|
|
var ndxIntlzr, test, testPos, pos = 0, lvp = getLastValidPosition();
|
|
|
do pos === caretPos.begin && document.activeElement === input && (maskTemplate += "<span class='im-caret' style='border-right-width: 1px;border-right-style: solid;'></span>"),
|