mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
This commit is contained in:
parent
a202248780
commit
08a750a58f
4
ui/jquery.ui.button.js
vendored
4
ui/jquery.ui.button.js
vendored
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user