mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Remove redundant handling of disabled class on create
_setOptionDisabled in $.Widget is now handling that. Ref #9151 Ref gh-1599
This commit is contained in:
parent
11bd6d28b7
commit
83725a8fab
@ -78,9 +78,6 @@ $.widget( "ui.draggable", $.ui.mouse, {
|
||||
if ( this.options.addClasses ) {
|
||||
this._addClass( "ui-draggable" );
|
||||
}
|
||||
if ( this.options.disabled ) {
|
||||
this._addClass( "ui-draggable-disabled" );
|
||||
}
|
||||
this._setHandleClassName();
|
||||
|
||||
this._mouseInit();
|
||||
|
Loading…
Reference in New Issue
Block a user