Skip to content

Commit e02b6a5

Browse files
committed
Button: spacing.
1 parent 3c31d72 commit e02b6a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $.widget( "ui.button", {
6969
options.label = this.buttonElement.html();
7070
}
7171

72-
if ( this.element.is(":disabled") ) {
72+
if ( this.element.is( ":disabled" ) ) {
7373
options.disabled = true;
7474
}
7575

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

242242
refresh: function() {
243-
var isDisabled = this.element.is(":disabled");
243+
var isDisabled = this.element.is( ":disabled" );
244244
if ( isDisabled !== this.options.disabled ) {
245245
this._setOption( "disabled", isDisabled );
246246
}

0 commit comments

Comments
 (0)