aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2010-03-17 12:56:15 +0000
committerRichard Worth <rdworth@gmail.com>2010-03-17 12:56:15 +0000
commit08a750a58f7a362f844770265a74b2dfc3f34a3d (patch)
tree6be58fda38c313591046bf1ae90ee9e50c5533ca /ui
parenta202248780868c24e43b4e4c24a8eeed051aec5d (diff)
downloadjquery-ui-08a750a58f7a362f844770265a74b2dfc3f34a3d.tar.gz
jquery-ui-08a750a58f7a362f844770265a74b2dfc3f34a3d.zip
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
Diffstat (limited to 'ui')
-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 0c2603193..33534b88a 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -184,7 +184,7 @@ $.widget( "ui.button", {
if ( this.element.is(":radio") ) {
this.type = "radio";
} else {
- if (this.element.is("input") ) {
+ if ( this.element.is("input") ) {
this.type = "input";
} else {
this.type = "button";
@@ -197,7 +197,7 @@ $.widget( "ui.button", {
// is disconnected from the DOM
this.buttonElement = this.element.parents().last()
.find( "[for=" + this.element.attr("id") + "]" );
- this.element.addClass('ui-helper-hidden-accessible');
+ this.element.addClass( "ui-helper-hidden-accessible" );
var checked = this.element.is( ":checked" );
if ( checked ) {