Fix lint errors
This commit is contained in:
parent
395c372702
commit
fbfac6d49b
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ const MenuItem = (function () {
|
|||
|
||||
if (this.role && rolesMap[this.role] && process.platform !== 'darwin' && (focusedWindow != null)) {
|
||||
const methodName = rolesMap[this.role]
|
||||
if(methodInApp[methodName]) {
|
||||
if (methodInApp[methodName]) {
|
||||
return app[methodName]()
|
||||
} else if (methodInBrowserWindow[methodName]) {
|
||||
return focusedWindow[methodName]()
|
||||
|
|
Loading…
Reference in a new issue