Browse Source

Update js/jquery.inputmask.js

Robin Herbots 13 years ago
parent
commit
20efbd1b28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/jquery.inputmask.js

+ 1 - 1
js/jquery.inputmask.js

@@ -863,7 +863,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                 function keyupEvent(e) {
                     var $input = $(this), input = this;
                     var k = e.keyCode;
-                    opts.onKeyUp.call(this, k); //extra stuff todo on keyup
+                    opts.onKeyUp.call(this, e, opts); //extra stuff todo on keyup
                     if (k == opts.keyCode.TAB && $input.hasClass('focus.inputmask') && input._valueGet().length == 0) {
                         buffer = _buffer.slice();
                         writeBuffer(input, buffer);