Browse Source

fix isComplete function

Robin Herbots 13 years ago
parent
commit
303b09cf71
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/jquery.inputmask.js

+ 2 - 2
js/jquery.inputmask.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2012 Robin Herbots
 * Copyright (c) 2010 - 2012 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 1.2.8b
+* Version: 1.2.8c
 */
 */
 
 
 (function ($) {
 (function ($) {
@@ -147,7 +147,7 @@
                         opts.greedy = this.data('inputmask')['greedy'];
                         opts.greedy = this.data('inputmask')['greedy'];
                         opts.repeat = this.data('inputmask')['repeat'];
                         opts.repeat = this.data('inputmask')['repeat'];
                         opts.definitions = this.data('inputmask')['definitions'];
                         opts.definitions = this.data('inputmask')['definitions'];
-						return isComplete(this);
+						return isComplete(this[0]);
                     default:
                     default:
                         //check if the fn is an alias
                         //check if the fn is an alias
                         if (!resolveAlias(fn)) {
                         if (!resolveAlias(fn)) {