mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 768235 - Setting BrowserEventHandler.blockClick = true does nothing. r=mbrubeck
This commit is contained in:
parent
2b33007e08
commit
9a96ad68f9
@ -1268,7 +1268,6 @@ var NativeWindow = {
|
|||||||
|
|
||||||
// only send the contextmenu event to content if we are planning to show a context menu (i.e. not on every long tap)
|
// only send the contextmenu event to content if we are planning to show a context menu (i.e. not on every long tap)
|
||||||
if (this.menuitems) {
|
if (this.menuitems) {
|
||||||
BrowserEventHandler.blockClick = true;
|
|
||||||
let event = rootElement.ownerDocument.createEvent("MouseEvent");
|
let event = rootElement.ownerDocument.createEvent("MouseEvent");
|
||||||
event.initMouseEvent("contextmenu", true, true, content,
|
event.initMouseEvent("contextmenu", true, true, content,
|
||||||
0, aX, aY, aX, aY, false, false, false, false,
|
0, aX, aY, aX, aY, false, false, false, false,
|
||||||
|
Loading…
Reference in New Issue
Block a user