dash: Minor cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=684618
This commit is contained in:
Florian Müllner 2013-06-05 14:51:41 +02:00
parent ddb682e4fe
commit 1ad1e48741

View File

@ -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;