From 30528647735b5bcb689427b3a865f78c57a6070c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 3 Dec 2012 17:09:44 +0000 Subject: issue click events at dom --- render/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index f90d1ee18..812c6909b 100644 --- a/render/html.c +++ b/render/html.c @@ -336,7 +336,7 @@ void html_finish_conversion(html_content *c) * object, but with its target set to the Document object (and * the currentTarget set to the Window object) */ - js_fire_event(c->jscontext, "load", NULL); + js_fire_event(c->jscontext, "load", c->document, NULL); /* convert dom tree to box tree */ LOG(("DOM to box (%p)", c)); -- cgit v1.2.3