Commit f658f68d authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Do not register Gecko load event handler twice.

parent 574e207a
......@@ -482,4 +482,7 @@ void init_nsevents(HTMLDocumentNode *doc)
init_event(target, L"load", &listener->load_listener.nsIDOMEventListener_iface, TRUE);
nsIDOMEventTarget_Release(target);
/* handle_load already takes care of dispatching the load event */
doc->event_vector[EVENTID_LOAD] = TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment