diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 19:53:30 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 19:53:39 +0800 |
commit | 3fa7c5dc0814bce907c7adbd6e39e1759186120c (patch) | |
tree | d2cf274ca67d5eac37efca643817c611c1b5fa0d /ui/app/components/modals | |
parent | c2636143c3c3f297c8b00e407596841908376331 (diff) | |
download | tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar.gz tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar.bz2 tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar.lz tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar.xz tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.tar.zst tangerine-wallet-browser-3fa7c5dc0814bce907c7adbd6e39e1759186120c.zip |
Hook up hideModal action to close icon in EditAccountNameModal
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r-- | ui/app/components/modals/edit-account-name-modal.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/components/modals/edit-account-name-modal.js b/ui/app/components/modals/edit-account-name-modal.js index 0128fe412..cff8b2a58 100644 --- a/ui/app/components/modals/edit-account-name-modal.js +++ b/ui/app/components/modals/edit-account-name-modal.js @@ -43,7 +43,11 @@ EditAccountNameModal.prototype.render = function () { h('div.flex-column.edit-account-name-modal-content', { }, [ - h('div.edit-account-name-modal-cancel', {}, [ + h('div.edit-account-name-modal-cancel', { + onClick: () => { + hideModal() + }, + }, [ h('i.fa.fa-times'), ]), |