diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:55:02 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:55:02 +0800 |
commit | 3f1ae92bb7d4ca4629995f32dc03f37e6460a864 (patch) | |
tree | 1ad1b69bb020791b0536e517c1db73be90f28bdc /ui/app/components | |
parent | 7c2001102311d8e35f01d39ede9d5ac00e635006 (diff) | |
download | tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.gz tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.bz2 tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.lz tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.xz tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.zst tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.zip |
Hide sidebar on add token
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/wallet-view.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index 215103396..9c11ca4a5 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -150,7 +150,10 @@ WalletView.prototype.render = function () { h(TokenList), h('button.wallet-view__add-token-button', { - onClick: showAddTokenPage, + onClick: () => { + showAddTokenPage() + hideSidebar() + }, }, 'Add Token'), ]) } |