Skip to content

Commit

Permalink
Removed preventDefault call from firefox work around in event delegat…
Browse files Browse the repository at this point in the history
…or to allow mid mouse clicks
  • Loading branch information
Havunen committed Jun 26, 2018
1 parent 15a2196 commit 6b4abe7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/inferno/src/DOM/events/delegation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ function attachEventToDocument(name: string) {
// Firefox incorrectly triggers click event for mid/right mouse buttons.
// This bug has been active for 12 years.
// https://bugzilla.mozilla.org/show_bug.cgi?id=184051
event.preventDefault();
event.stopPropagation();
return false;
}
Expand Down

0 comments on commit 6b4abe7

Please sign in to comment.