aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdowns
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-18 13:36:53 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-18 13:38:07 +0800
commit085551b7e6b7dab21c21b99a40c4f79c413799d5 (patch)
tree88dd6397e8d2efcd0cc75812ee0ef0f87af06f87 /ui/app/components/dropdowns
parent5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2 (diff)
downloadtangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.gz
tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.zst
tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.zip
New Account modal
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r--ui/app/components/dropdowns/components/menu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/dropdowns/components/menu.js b/ui/app/components/dropdowns/components/menu.js
index 323103f0b..f6d8a139e 100644
--- a/ui/app/components/dropdowns/components/menu.js
+++ b/ui/app/components/dropdowns/components/menu.js
@@ -28,8 +28,8 @@ Item.prototype.render = function () {
const textComponent = text ? h('div.menu__item__text', text) : null
return children
- ? h('div', { className: itemClassName }, children)
- : h('div.menu__item', { className: itemClassName }, [ iconComponent, textComponent ]
+ ? h('div', { className: itemClassName, onClick }, children)
+ : h('div.menu__item', { className: itemClassName, onClick }, [ iconComponent, textComponent ]
.filter(d => Boolean(d))
)
}