diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-24 15:16:19 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-24 15:16:19 +0800 |
commit | 3891cf1af6130126781b12aaee410c0831fa43e9 (patch) | |
tree | c8763a90b33d6fef9421a7a094609511cf9fe3d3 /ui/app/components | |
parent | 4401800a42eccbd77f11b332e1052431328401bb (diff) | |
download | tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.gz tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.bz2 tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.lz tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.xz tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.zst tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.zip |
Fix clickable area on logout
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/account-menu/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/account-menu/index.js b/ui/app/components/account-menu/index.js index da2c86233..e0f38ae78 100644 --- a/ui/app/components/account-menu/index.js +++ b/ui/app/components/account-menu/index.js @@ -63,10 +63,11 @@ AccountMenu.prototype.render = function () { h(CloseArea, { onClick: toggleAccountMenu }), h(Item, { className: 'account-menu__header', - onClick: lockMetamask, }, [ 'My Accounts', - h('button.account-menu__logout-button', 'Log out'), + h('button.account-menu__logout-button', { + onClick: lockMetamask, + }, 'Log out'), ]), h(Divider), h('div.account-menu__accounts', this.renderAccounts()), |