Skip to content

Commit

Permalink
LibWeb: Use correct event name for the onmousemove global event handler
Browse files Browse the repository at this point in the history
The current event name was accidentally set for the onmousedown event.
  • Loading branch information
IdanHo authored and linusg committed Apr 20, 2021
1 parent 1206e98 commit 81d7d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
E(onmousedown, UIEvents::EventNames::mousedown) \
E(onmouseenter, UIEvents::EventNames::mouseenter) \
E(onmouseleave, UIEvents::EventNames::mouseleave) \
E(onmousemove, UIEvents::EventNames::mousedown) \
E(onmousemove, UIEvents::EventNames::mousemove) \
E(onmouseout, UIEvents::EventNames::mouseout) \
E(onmouseover, UIEvents::EventNames::mouseover) \
E(onmouseup, UIEvents::EventNames::mouseup) \
Expand Down

0 comments on commit 81d7d68

Please sign in to comment.