Skip to content

Commit

Permalink
Remove method argument from _super and _superApply.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Nov 18, 2011
1 parent 283c1f3 commit 45d6cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.mask.js
Expand Up @@ -59,14 +59,14 @@ $.widget( "ui.mask", {
},

_setOption: function( key, value ) {
this._super( "_setOption", key, value );
this._super( key, value );
if ( key === "mask" ) {
this._parseMask();
this._parseValue();
}
},
_setOptions: function( options ) {
this._super( "_setOptions", options );
this._super( options );
this._paint();
},

Expand Down
2 changes: 1 addition & 1 deletion ui/jquery.ui.timepicker.js
Expand Up @@ -224,7 +224,7 @@ $.widget( "ui.timepicker", {
var currentValue = this.value();

// change the option
this._super( "_setOptions", options );
this._super( options );

// update the mask, all of the option changes have a chance of changing it
this.element.mask( "option", "mask", this._generateMask() );
Expand Down

0 comments on commit 45d6cb5

Please sign in to comment.