diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-09-21 12:42:56 +0200 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-09-25 13:47:02 -0400 |
commit | 83725a8fab70e1483b4001437e50ff0cb29df73b (patch) | |
tree | cf76ef0409c13c4fd476c3eb03e209a9c21f5277 /ui/widgets/draggable.js | |
parent | 11bd6d28b795971aa55efccfaf69c4e6b5fde629 (diff) | |
download | jquery-ui-83725a8fab70e1483b4001437e50ff0cb29df73b.tar.gz jquery-ui-83725a8fab70e1483b4001437e50ff0cb29df73b.zip |
Draggable: Remove redundant handling of disabled class on create
_setOptionDisabled in $.Widget is now handling that.
Ref #9151
Ref gh-1599
Diffstat (limited to 'ui/widgets/draggable.js')
-rw-r--r-- | ui/widgets/draggable.js | 3 |
1 files changed, 0 insertions, 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(); |