1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

LibWeb: Port DOMEventListener to new FlyString

This commit is contained in:
Kenneth Myhra 2023-04-09 10:13:46 +02:00 committed by Linus Groh
parent 2091a11488
commit fdd33d818c
3 changed files with 7 additions and 7 deletions

View file

@ -63,7 +63,7 @@ bool EventDispatcher::inner_invoke(Event& event, Vector<JS::Handle<DOM::DOMEvent
continue;
// 1. If events type attribute value is not listeners type, then continue.
if (event.type().to_deprecated_fly_string() != listener->type)
if (event.type() != listener->type)
continue;
// 2. Set found to true.