Only run mouseOver() once per mouseover
authorMichael M Slusarz <slusarz@curecanti.org>
Sat, 14 Mar 2009 14:46:05 +0000 (08:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 14 Mar 2009 14:46:05 +0000 (08:46 -0600)
imp/js/src/dragdrop.js

index 74d1fd1..2d82038 100644 (file)
@@ -323,7 +323,10 @@ Drag = Class.create({
             }
 
             if (elt) {
-                DragDrop.Drops.get_drop(elt).mouseOver();
+                elt = DragDrop.Drops.get_drop(elt);
+                if (elt != d) {
+                    elt.mouseOver();
+                }
             } else if (d) {
                 d.mouseOut();
             }