Skip to content
Permalink
Browse files

button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core…

  • Loading branch information...
rdworth committed Mar 17, 2010
1 parent a202248 commit 08a750a58f7a362f844770265a74b2dfc3f34a3d
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 ) {

0 comments on commit 08a750a

Please sign in to comment.
You can’t perform that action at this time.