|
|
@@ -3,7 +3,7 @@
|
|
|
* https://github.com/RobinHerbots/Inputmask
|
|
|
* Copyright (c) 2010 - 2018 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 4.0.0-102
|
|
|
+* Version: 4.0.0-103
|
|
|
*/
|
|
|
|
|
|
!function(factory) {
|
|
|
@@ -122,7 +122,7 @@
|
|
|
i++, needsValidation = !0) : isMask(i) || (i++, startPos--), startPos++;
|
|
|
}
|
|
|
}
|
|
|
- for (i = getLastValidPosition(-1, !0); getMaskSet().validPositions[i] && !0 === getMaskSet().validPositions[i].generatedInput; ) delete getMaskSet().validPositions[i--];
|
|
|
+ if (!0 !== strict) for (i = getLastValidPosition(-1, !0); getMaskSet().validPositions[i] && !0 === getMaskSet().validPositions[i].generatedInput; ) delete getMaskSet().validPositions[i--];
|
|
|
resetMaskSet(!0);
|
|
|
}
|
|
|
function determineTestTemplate(pos, tests, guessNextBest) {
|