aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.core.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index cbffa15ea..19274e7cc 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -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);
}
},