mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767840 - Let middleMousePaste call openUILink instead of whereToOpenLink and openUILinkIn. r=gavin
This commit is contained in:
parent
1204d555df
commit
fefd91b37c
@ -5261,10 +5261,9 @@ function middleMousePaste(event) {
|
|||||||
Cu.reportError(ex);
|
Cu.reportError(ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: Bug 631500, use openUILink directly
|
openUILink(url, event,
|
||||||
let where = whereToOpenLink(event, true);
|
{ ignoreButton: true,
|
||||||
openUILinkIn(url, where,
|
disallowInheritPrincipal: !mayInheritPrincipal.value });
|
||||||
{ disallowInheritPrincipal: !mayInheritPrincipal.value });
|
|
||||||
|
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user