Skip to content

Commit

Permalink
Fix dragging links in the same document
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 2, 2015
1 parent ec2e293 commit a1ccd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/backends/HTML5.js
Expand Up @@ -61,7 +61,7 @@ function preventDefaultNativeDropAction(e) {

function handleTopDragStart(e) {
// If by this time no drag source reacted, tell browser not to drag.
if (!DragOperationStore.isDragging()) {
if (!isNativeDragDropEvent(e) && !DragOperationStore.isDragging()) {
e.preventDefault();
}
}
Expand Down

0 comments on commit a1ccd0f

Please sign in to comment.