]> source.dussan.org Git - jquery-ui.git/commitdiff
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
authorRichard Worth <rdworth@gmail.com>
Wed, 17 Mar 2010 12:56:15 +0000 (12:56 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 17 Mar 2010 12:56:15 +0000 (12:56 +0000)
ui/jquery.ui.button.js

index 0c2603193ec0f07571b3eb4c3c2180b040976b10..33534b88a3249d2c807f75cf3206f85d5fe1baab 100644 (file)
@@ -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 ) {