mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Only add the new dialogClass, not the base classes when changing the option.
This commit is contained in:
parent
324d54dd32
commit
f7d3a51589
3
ui/jquery.ui.dialog.js
vendored
3
ui/jquery.ui.dialog.js
vendored
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user