Browse Source

Update jquery.inputmask.js

Robin Herbots 13 years ago
parent
commit
f0228f0f56
1 changed files with 1 additions and 1 deletions
  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() {
                         var $input = $(this), input = this, nptValue = input._valueGet();
                         $input.removeClass('focus.inputmask');
-                        if (input._valueGet() != undoBuffer) {
+                        if (nptValue != undoBuffer) {
                             $input.change();
                         }
                         if (opts.clearMaskOnLostFocus) {