mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a5ed4a873f
1 changed files with 5 additions and 0 deletions
|
|
@ -783,6 +783,11 @@ app.on('web-contents-created', (webContentsCreatedEvent, contents) => {
|
|||
newWindowEvent.preventDefault()
|
||||
shell.openExternal(url)
|
||||
})
|
||||
|
||||
contents.setWindowOpenHandler((details) => {
|
||||
shell.openExternal(details.url)
|
||||
return {action: 'deny'}
|
||||
})
|
||||
})
|
||||
|
||||
app.on('before-quit', (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue