diff --git a/js/ui/dash.js b/js/ui/dash.js index 2f78338da..554e7dbf5 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -864,9 +864,9 @@ const Dash = new Lang.Class({ // Remove the drag placeholder if we are not in the // "favorites zone" - if (pos > numFavorites && this._dragPlaceholder) { + if (pos > numFavorites) this._clearDragPlaceholder(); - } + if (!this._dragPlaceholder) return DND.DragMotionResult.NO_DROP;