aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-21 12:42:56 +0200
committerScott González <scott.gonzalez@gmail.com>2015-09-25 13:47:02 -0400
commit83725a8fab70e1483b4001437e50ff0cb29df73b (patch)
treecf76ef0409c13c4fd476c3eb03e209a9c21f5277 /ui/widgets
parent11bd6d28b795971aa55efccfaf69c4e6b5fde629 (diff)
downloadjquery-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')
-rw-r--r--ui/widgets/draggable.js3
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();