Browse Source

LibWeb: Use correct event name for the onmousemove global event handler

The current event name was accidentally set for the onmousedown event.
Idan Horowitz 4 years ago
parent
commit
81d7d68416
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h

+ 1 - 1
Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h

@@ -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)               \