aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/modals/edit-account-name-modal.js6
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'),
]),