[gnome-shell] dash: Minor cleanup



commit 10b77a8305b9350752f45addf495a33812c70b5b
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Jun 5 14:51:41 2013 +0200

    dash: Minor cleanup
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684618

 js/ui/dash.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 79636fc..a916de1 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]