Remove linter errors
This commit is contained in:
parent
8098ca3b66
commit
97dd680b32
2 changed files with 1 additions and 2 deletions
|
@ -1018,7 +1018,7 @@ describe('BrowserWindow module', function () {
|
|||
w = new BrowserWindow({
|
||||
show: false,
|
||||
webPreferences: {
|
||||
sandbox: true,
|
||||
sandbox: true
|
||||
}
|
||||
})
|
||||
const initialWebContents = webContents.getAllWebContents()
|
||||
|
|
|
@ -246,7 +246,6 @@ ipcMain.on('create-window-with-options-cycle', (event) => {
|
|||
event.returnValue = window.id
|
||||
})
|
||||
|
||||
|
||||
ipcMain.on('prevent-next-new-window', (event, id) => {
|
||||
webContents.fromId(id).once('new-window', event => event.preventDefault())
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue