Skip to content

Commit 337b307

Browse files
committed
Draggable: Remove redundant handling of disabled class on create
_setOptionDisabled in $.Widget is now handling that. Ref #9151
1 parent e58ed3c commit 337b307

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ui/widgets/draggable.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ $.widget( "ui.draggable", $.ui.mouse, {
7878
if ( this.options.addClasses ) {
7979
this._addClass( "ui-draggable" );
8080
}
81-
if ( this.options.disabled ) {
82-
this._addClass( "ui-draggable-disabled" );
83-
}
8481
this._setHandleClassName();
8582

8683
this._mouseInit();

0 commit comments

Comments
 (0)