Skip to content

Commit 08a750a

Browse files
committed
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
1 parent a202248 commit 08a750a

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
@@ -184,7 +184,7 @@ $.widget( "ui.button", {
184184
if ( this.element.is(":radio") ) {
185185
this.type = "radio";
186186
} else {
187-
if (this.element.is("input") ) {
187+
if ( this.element.is("input") ) {
188188
this.type = "input";
189189
} else {
190190
this.type = "button";
@@ -197,7 +197,7 @@ $.widget( "ui.button", {
197197
// is disconnected from the DOM
198198
this.buttonElement = this.element.parents().last()
199199
.find( "[for=" + this.element.attr("id") + "]" );
200-
this.element.addClass('ui-helper-hidden-accessible');
200+
this.element.addClass( "ui-helper-hidden-accessible" );
201201

202202
var checked = this.element.is( ":checked" );
203203
if ( checked ) {

0 commit comments

Comments
 (0)