diff options
author | kumavis <aaron@kumavis.me> | 2016-06-30 08:12:08 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2016-06-30 08:12:08 +0800 |
commit | 41598a32a6fcecaeff5d90ada881bc4cfd52c08f (patch) | |
tree | 3e0fddda3ffaf59c7752f1bd38b5a2aabec5ad25 /ui/app/app.js | |
parent | 94768175bf7630e9f8fd590181cb7816fd0ece7d (diff) | |
parent | f7bb3cdcfebacc3f3970b469503db202e0bdda28 (diff) | |
download | tangerine-wallet-browser-41598a32a6fcecaeff5d90ada881bc4cfd52c08f.tar.gz tangerine-wallet-browser-41598a32a6fcecaeff5d90ada881bc4cfd52c08f.tar.zst tangerine-wallet-browser-41598a32a6fcecaeff5d90ada881bc4cfd52c08f.zip |
Merge branch 'master' of github.com:MetaMask/metamask-plugin into networkIndication
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index a79666f58..938caffd9 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -26,6 +26,7 @@ const SandwichExpando = require('sandwich-expando') const MenuDroppo = require('menu-droppo') const DropMenuItem = require('./components/drop-menu-item') const NetworkIndicator = require('./components/network') +const Tooltip = require('./components/tooltip') module.exports = connect(mapStateToProps)(App) @@ -152,18 +153,19 @@ App.prototype.renderAppBar = function () { }, [ // small accounts nav - h('img.cursor-pointer.color-orange', { - src: 'images/switch_acc.svg', - style: { - width: '23.5px', - marginRight: '8px', - }, - title: 'Switch Accounts', - onClick: (event) => { - event.stopPropagation() - this.props.dispatch(actions.showAccountsPage()) - }, - }), + h(Tooltip, { title: 'Switch Accounts' }, [ + h('img.cursor-pointer.color-orange', { + src: 'images/switch_acc.svg', + style: { + width: '23.5px', + marginRight: '8px', + }, + onClick: (event) => { + event.stopPropagation() + this.props.dispatch(actions.showAccountsPage()) + }, + }), + ]), // hamburger h(SandwichExpando, { |