mshtml: Ensure that gecko event listener is attached in attach_event.
This commit is contained in:
parent
0216974a1b
commit
ca9dbd736f
|
@ -1128,7 +1128,7 @@ HRESULT attach_event(event_target_t **event_target_ptr, HTMLDocument *doc, BSTR
|
|||
event_target->event_table[eid]->handlers[i] = disp;
|
||||
|
||||
*res = VARIANT_TRUE;
|
||||
return S_OK;
|
||||
return ensure_nsevent_handler(doc->doc_node, eid);
|
||||
}
|
||||
|
||||
HRESULT detach_event(event_target_t *event_target, HTMLDocument *doc, BSTR name, IDispatch *disp)
|
||||
|
|
Loading…
Reference in New Issue