diff --git a/js/ui/dash.js b/js/ui/dash.js index 79636fc49..a916de1ad 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -858,9 +858,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;