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:
Jörn Zaefferer 2015-09-21 12:42:56 +02:00 committed by Scott González
parent 11bd6d28b7
commit 83725a8fab

View File

@ -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();