mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-28 23:38:30 -05:00
Core: Whitespace only.
This commit is contained in:
@@ -367,8 +367,10 @@ $.widget.prototype = {
|
||||
this.options[key] = value;
|
||||
|
||||
if (key == 'disabled') {
|
||||
this.element[value ? 'addClass' : 'removeClass'](
|
||||
this.widgetBaseClass + '-disabled' + ' ' + this.namespace + '-state-disabled')
|
||||
this.element
|
||||
[value ? 'addClass' : 'removeClass'](
|
||||
this.widgetBaseClass + '-disabled' + ' ' +
|
||||
this.namespace + '-state-disabled')
|
||||
.attr("aria-disabled", value);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user