diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 46d32fdd3..46440d6ff 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -507,6 +507,9 @@ _Draggable.prototype = { if (!this._buttonDown) this._dragComplete(); this.emit('drag-end', eventTime, false); + if (!this._dragOrigParent) + this._dragActor.destroy(); + return; }