mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 10:42:36 +03:00
Current target, not target, otherwise events are fired in the wrong place
This commit is contained in:
parent
6eb6208159
commit
c2d51384c1
@ -547,7 +547,7 @@ static void dukky_generic_event_handler(dom_event *evt, void *pw)
|
||||
phase == DOM_BUBBLING_PHASE ? "bubbling" :
|
||||
"unknown", (int)phase);
|
||||
|
||||
exc = dom_event_get_target(evt, &targ);
|
||||
exc = dom_event_get_current_target(evt, &targ);
|
||||
if (exc != DOM_NO_ERR) {
|
||||
dom_string_unref(name);
|
||||
LOG("Unable to find the event target");
|
||||
|
Loading…
Reference in New Issue
Block a user