Commits

carkraus  committed ccbc20c

fix goog.fx.DragDropItem to only start dragging the actual drag item and not arbitrary childNodes of it

  • Participants
  • Parent commits 852fe3a

Comments (0)

Files changed (1)

File closure/closure-library/closure/goog/fx/abstractdragdrop.js

   }
 
   // Get the draggable element for the target.
-  var element = this.getDraggableElement(/** @type {Element} */ (event.target));
+  var element = this.getDraggableElement(
+      /** @type {Element} */ (event.currentTarget));
   if (element) {
     this.maybeStartDrag_(event, element);
   }