aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-03-16 04:07:23 +0000
committerScott González <scott.gonzalez@gmail.com>2010-03-16 04:07:23 +0000
commite02b6a58d608bf033b19c868dfa5b310229fc7c1 (patch)
treeb8145645a87d0e0f1b8882a1b98cc5f1f77ab9c0 /ui/jquery.ui.button.js
parent3c31d720ce6f745b9201a54aeee34de6c22c50ec (diff)
downloadjquery-ui-e02b6a58d608bf033b19c868dfa5b310229fc7c1.tar.gz
jquery-ui-e02b6a58d608bf033b19c868dfa5b310229fc7c1.zip
Button: spacing.
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js4
1 files 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 );
}