mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
♻️ Electron new-window 事件替换
This commit is contained in:
parent
223677e462
commit
b251d18f8a
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ app.on('web-contents-created', (webContentsCreatedEvent, contents) => {
|
|||
|
||||
contents.setWindowOpenHandler((details) => {
|
||||
shell.openExternal(details.url)
|
||||
return {action: 'deny',}
|
||||
return {action: 'deny'}
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue