From b251d18f8a4bad8f976bfdfcd902b907883a04b2 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 25 Nov 2022 10:01:52 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20Electron=20new-window=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/main.js b/app/electron/main.js index 961b29a96..c9ab0f8dd 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -786,7 +786,7 @@ app.on('web-contents-created', (webContentsCreatedEvent, contents) => { contents.setWindowOpenHandler((details) => { shell.openExternal(details.url) - return {action: 'deny',} + return {action: 'deny'} }) })