From e02b6a58d608bf033b19c868dfa5b310229fc7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 16 Mar 2010 04:07:23 +0000 Subject: [PATCH] Button: spacing. --- ui/jquery.ui.button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index 2f26e3158..bce54b3af 100644 --- a/ui/jquery.ui.button.js +++ b/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 ); }