Simplify example code
This commit is contained in:
parent
e885e33b75
commit
87565f4c84
1 changed files with 1 additions and 2 deletions
|
@ -68,8 +68,7 @@ mainWindow.webContents.on('new-window', (event, url, frameName, disposition, opt
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 100
|
height: 100
|
||||||
})
|
})
|
||||||
modal = new BrowserWindow(options)
|
event.newGuest = new BrowserWindow(options)
|
||||||
event.newGuest = modal
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue