Skip to content
Permalink
Browse files

Draggable: Remove redundant handling of disabled class on create

_setOptionDisabled in $.Widget is now handling that.

Ref #9151
Ref gh-1599
  • Loading branch information
jzaefferer authored and scottgonzalez committed Sep 25, 2015
1 parent 11bd6d2 commit 83725a8fab70e1483b4001437e50ff0cb29df73b
Showing with 0 additions and 3 deletions.
  1. +0 −3 ui/widgets/draggable.js
@@ -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();

0 comments on commit 83725a8

Please sign in to comment.
You can’t perform that action at this time.