Skip to content

Commit

Permalink
Stop propagation on drag start, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 16, 2011
1 parent 88c6f28 commit faec4c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -4347,6 +4347,7 @@ function d3_behavior_dragDispatch(type) {
d3.event = o;
}

o.stopPropagation();
o.preventDefault();
}

Expand Down
Loading

0 comments on commit faec4c8

Please sign in to comment.