|
@@ -3,7 +3,7 @@
|
|
|
* http://github.com/RobinHerbots/jquery.inputmask
|
|
* http://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2015 Robin Herbots
|
|
* Copyright (c) 2010 - 2015 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 3.1.64-46
|
|
|
|
|
|
|
+* Version: 3.1.64-48
|
|
|
*/
|
|
*/
|
|
|
!function(factory) {
|
|
!function(factory) {
|
|
|
"function" == typeof define && define.amd ? define([ "jquery", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("./inputmask")) : factory(jQuery);
|
|
"function" == typeof define && define.amd ? define([ "jquery", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("./inputmask")) : factory(jQuery);
|
|
@@ -226,7 +226,7 @@
|
|
|
isValid === !0 && (isValid = opts.leadingZeroHandler(chrs, maskset, pos, strict, opts),
|
|
isValid === !0 && (isValid = opts.leadingZeroHandler(chrs, maskset, pos, strict, opts),
|
|
|
isValid === !0)))) {
|
|
isValid === !0)))) {
|
|
|
var radixPosition = $.inArray(opts.radixPoint, maskset.buffer);
|
|
var radixPosition = $.inArray(opts.radixPoint, maskset.buffer);
|
|
|
- isValid = opts.digitsOptional === !1 && pos > radixPosition && !strict ? {
|
|
|
|
|
|
|
+ isValid = -1 != radixPosition && opts.digitsOptional === !1 && pos > radixPosition && !strict ? {
|
|
|
pos: pos,
|
|
pos: pos,
|
|
|
remove: pos
|
|
remove: pos
|
|
|
} : {
|
|
} : {
|