|
|
@@ -3,7 +3,7 @@ Input Mask plugin for jquery
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 0.1.3
|
|
|
+Version: 0.1.4
|
|
|
|
|
|
This plugin is based on the masked input plugin written by Josh Bush (digitalbush.com)
|
|
|
*/
|
|
|
@@ -69,7 +69,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
|
|
|
var _val = $.inputmask.val;
|
|
|
if (opts.patch_val && $.fn.val.inputmaskpatch != true) {
|
|
|
$.fn.val = function(value) {
|
|
|
- var result = _val.call(this, value);
|
|
|
+ var result = _val.apply(this, arguments);
|
|
|
if (value && $.isFunction(this.inputmask)) {
|
|
|
this.trigger('blur');
|
|
|
}
|