diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/html.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c index 548295c64..fc6084332 100644 --- a/render/html.c +++ b/render/html.c @@ -331,6 +331,12 @@ void html_finish_conversion(html_content *c) } } + /* fire a simple event named load at the Document's Window + * 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); + /* convert dom tree to box tree */ LOG(("DOM to box (%p)", c)); content_set_status(&c->base, messages_get("Processing")); |