aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index f536120d5..ab32219c2 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -578,8 +578,7 @@ $.widget("ui.dialog", {
case "dialogClass":
uiDialog
.removeClass( this.options.dialogClass )
- // TODO why adding uiDialogClasses again? we didn't remove those
- .addClass( uiDialogClasses + value );
+ .addClass( value );
break;
case "disabled":
// TODO use toggleClass( "ui-dialog-disabled", value )