diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js index 58ced641d..ad92190b4 100644 --- a/ui/widgets/draggable.js +++ b/ui/widgets/draggable.js @@ -99,7 +99,7 @@ $.widget( "ui.draggable", $.ui.mouse, { this._removeHandleClassName(); this._mouseDestroy(); - if ($.ui.ddmanager) { + if ( $.ui.ddmanager ) { $.ui.ddmanager.current = null; } },