fixed memory leak

This commit is contained in:
Igor Iakymenko 2015-11-19 15:09:55 +02:00
parent 28d64f276f
commit ec31fd2c58

View File

@ -99,7 +99,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
this._removeHandleClassName(); this._removeHandleClassName();
this._mouseDestroy(); this._mouseDestroy();
if ($.ui.ddmanager) { if ( $.ui.ddmanager ) {
$.ui.ddmanager.current = null; $.ui.ddmanager.current = null;
} }
}, },