mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-15 19:31:39 +00:00
WebView: Enable allowpopups.
This is required for Electron ≥ 15 to continue invoking our new window handler (handleExternalLink), following the nativeWindowOpen migration. https://github.com/electron/electron/issues/30886 Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -71,6 +71,7 @@ export default class WebView {
|
|||||||
? html``
|
? html``
|
||||||
: html`preload="${props.preload}"`}
|
: html`preload="${props.preload}"`}
|
||||||
partition="persist:webviewsession"
|
partition="persist:webviewsession"
|
||||||
|
allowpopups
|
||||||
>
|
>
|
||||||
</webview>
|
</webview>
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user