lint fix
This commit is contained in:
parent
71b36ef54d
commit
cafb9477b0
1 changed files with 7 additions and 7 deletions
|
@ -448,9 +448,9 @@ ipcMain.on('ELECTRON_BROWSER_WINDOW_ALERT', function (event, message, title) {
|
|||
title: `${title}`,
|
||||
buttons: ['OK']
|
||||
}
|
||||
event.returnValue = event.sender.isOffscreen() ?
|
||||
electron.dialog.showMessageBox(dialogProperties) :
|
||||
electron.dialog.showMessageBox(
|
||||
event.returnValue = event.sender.isOffscreen()
|
||||
? electron.dialog.showMessageBox(dialogProperties)
|
||||
: electron.dialog.showMessageBox(
|
||||
event.sender.getOwnerBrowserWindow(), dialogProperties)
|
||||
})
|
||||
|
||||
|
@ -465,9 +465,9 @@ ipcMain.on('ELECTRON_BROWSER_WINDOW_CONFIRM', function (event, message, title) {
|
|||
buttons: ['OK', 'Cancel'],
|
||||
cancelId: 1
|
||||
}
|
||||
event.returnValue = !(event.sender.isOffscreen() ?
|
||||
electron.dialog.showMessageBox(dialogProperties) :
|
||||
electron.dialog.showMessageBox(
|
||||
event.returnValue = !(event.sender.isOffscreen()
|
||||
? electron.dialog.showMessageBox(dialogProperties)
|
||||
: electron.dialog.showMessageBox(
|
||||
event.sender.getOwnerBrowserWindow(), dialogProperties))
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue