|
|
@@ -3,7 +3,7 @@
|
|
|
* https://github.com/RobinHerbots/Inputmask
|
|
|
* Copyright (c) 2010 - 2017 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 4.0.1-10
|
|
|
+* Version: 4.0.1-11
|
|
|
*/
|
|
|
|
|
|
!function(factory) {
|
|
|
@@ -1356,8 +1356,8 @@
|
|
|
var maskset = generateMaskSet(scopedOpts, that.noMasksCache);
|
|
|
maskset !== undefined && (el.inputmask !== undefined && el.inputmask.remove(), el.inputmask = new Inputmask(undefined, undefined, !0),
|
|
|
el.inputmask.opts = scopedOpts, el.inputmask.noMasksCache = that.noMasksCache, el.inputmask.userOptions = $.extend(!0, {}, that.userOptions),
|
|
|
- el.inputmask.isRTL = scopedOpts.isRTL, el.inputmask.el = el, el.inputmask.maskset = maskset,
|
|
|
- $.data(el, "_inputmask_opts", scopedOpts), maskScope.call(el.inputmask, {
|
|
|
+ el.inputmask.isRTL = scopedOpts.isRTL || scopedOpts.numericInput, el.inputmask.el = el,
|
|
|
+ el.inputmask.maskset = maskset, $.data(el, "_inputmask_opts", scopedOpts), maskScope.call(el.inputmask, {
|
|
|
action: "mask"
|
|
|
}));
|
|
|
}), elems && elems[0] ? elems[0].inputmask || this : this;
|