提交 d7db132c 编写于 作者: E Eugene Pankov

prevent ctrl-click events (#465)

上级 8f0f1b19
......@@ -193,6 +193,8 @@ export class Window {
ipcMain.on('window-set-title', (_event, title) => {
this.window.setTitle(title)
})
this.window.webContents.on('new-window', event => event.preventDefault())
}
private destroy () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册