diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-18 13:36:53 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-18 13:38:07 +0800 |
commit | 085551b7e6b7dab21c21b99a40c4f79c413799d5 (patch) | |
tree | 88dd6397e8d2efcd0cc75812ee0ef0f87af06f87 /ui/app/components/dropdowns | |
parent | 5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2 (diff) | |
download | tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.gz tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.bz2 tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.lz tangerine-wallet-browser-085551b7e6b7dab21c21b99a40c4f79c413799d5.tar.xz 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.js | 4 |
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)) ) } |