Skip to content

Commit 0c784b1

Browse files
committed
WebView: Enable allowpopups.
This is required for Electron ≥ 15 to continue invoking our new window handler (handleExternalLink), following the nativeWindowOpen migration. electron/electron#30886 Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 2b50b21 commit 0c784b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/renderer/js/components/webview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export default class WebView {
7171
? html``
7272
: html`preload="${props.preload}"`}
7373
partition="persist:webviewsession"
74+
allowpopups
7475
>
7576
</webview>
7677
`;

0 commit comments

Comments
 (0)