From ffbf789d2f8f5e916c33db3b2a9946dddc4fc0cb Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 31 Dec 2008 16:10:38 +0000 Subject: Core: Whitespace only. --- ui/ui.core.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/ui.core.js') 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); } }, -- cgit v1.2.3