From 896c71abbe62a0fe94978a8a6cbcc30529170c0b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 6 Nov 2015 15:55:36 +0000 Subject: Only fire click event on button 1 press. --- render/html_interaction.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'render/html_interaction.c') diff --git a/render/html_interaction.c b/render/html_interaction.c index 177eae294..153e4f79b 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -1004,8 +1004,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)) { + if (mouse & BROWSER_MOUSE_CLICK_1) { fire_dom_event(corestring_dom_click, node, true, true); } -- cgit v1.2.3