From 83725a8fab70e1483b4001437e50ff0cb29df73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 21 Sep 2015 12:42:56 +0200 Subject: [PATCH] Draggable: Remove redundant handling of disabled class on create _setOptionDisabled in $.Widget is now handling that. Ref #9151 Ref gh-1599 --- ui/widgets/draggable.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js index fc340626e..f61c38ce0 100644 --- a/ui/widgets/draggable.js +++ b/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();