Only fire click event on button 1 press.

This commit is contained in:
Michael Drake 2015-11-06 15:55:36 +00:00
parent 5c719d540e
commit 896c71abbe
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}