mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 02:32:44 +03:00
Only fire click event on button 1 press.
This commit is contained in:
parent
5c719d540e
commit
896c71abbe
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user