Cleanup
This commit is contained in:
parent
98f74bf031
commit
f904cdacd8
|
@ -11,6 +11,7 @@ function createWindow() {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Remove external links in the browser
|
||||||
win.webContents.on('new-window', function (e, url) {
|
win.webContents.on('new-window', function (e, url) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
shell.openExternal(url)
|
shell.openExternal(url)
|
||||||
|
|
Reference in New Issue