From 60c52e1eaf54ffa0cc6981d458c683c403609727 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 31 Oct 2015 18:01:27 +0100 Subject: Change click handling to fire_dom_event --- render/html_interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/html_interaction.c b/render/html_interaction.c index 361278cbf..a2160de5d 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -1008,7 +1008,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw, /* fire dom click event */ if ((mouse & BROWSER_MOUSE_CLICK_1) || (mouse & BROWSER_MOUSE_CLICK_2)) { - js_fire_event(html->jscontext, "click", html->document, node); + fire_dom_event(corestring_dom_click, node, true, true); } /* deferred actions that can cause this browser_window to be destroyed -- cgit v1.2.3