ソースを参照

Update jquery.inputmask.js

Robin Herbots 13 年 前
コミット
f0228f0f56
1 ファイル変更1 行追加1 行削除
  1. 1 1
      jquery.inputmask.js

+ 1 - 1
jquery.inputmask.js

@@ -511,7 +511,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                     }).bind("blur.inputmask", function() {
                     }).bind("blur.inputmask", function() {
                         var $input = $(this), input = this, nptValue = input._valueGet();
                         var $input = $(this), input = this, nptValue = input._valueGet();
                         $input.removeClass('focus.inputmask');
                         $input.removeClass('focus.inputmask');
-                        if (input._valueGet() != undoBuffer) {
+                        if (nptValue != undoBuffer) {
                             $input.change();
                             $input.change();
                         }
                         }
                         if (opts.clearMaskOnLostFocus) {
                         if (opts.clearMaskOnLostFocus) {