Skip to content
Permalink
Browse files

Button: spacing.

  • Loading branch information...
scottgonzalez committed Mar 16, 2010
1 parent 3c31d72 commit e02b6a58d608bf033b19c868dfa5b310229fc7c1
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.button.js
@@ -69,7 +69,7 @@ $.widget( "ui.button", {
options.label = this.buttonElement.html();
}

if ( this.element.is(":disabled") ) {
if ( this.element.is( ":disabled" ) ) {
options.disabled = true;
}

@@ -240,7 +240,7 @@ $.widget( "ui.button", {
},

refresh: function() {
var isDisabled = this.element.is(":disabled");
var isDisabled = this.element.is( ":disabled" );
if ( isDisabled !== this.options.disabled ) {
this._setOption( "disabled", isDisabled );
}

0 comments on commit e02b6a5

Please sign in to comment.
You can’t perform that action at this time.