projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395c372
)
Fix lint errors
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:07:56 +0000
(09:07 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:08:13 +0000
(09:08 -0700)
lib/browser/api/menu-item.js
patch
|
blob
|
history
diff --git
a/lib/browser/api/menu-item.js
b/lib/browser/api/menu-item.js
index
7b5a688
..
f38ab97
100644
(file)
--- a/
lib/browser/api/menu-item.js
+++ b/
lib/browser/api/menu-item.js
@@
-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]()