diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-06-30 08:06:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-30 08:06:31 +0800 |
commit | f7bb3cdcfebacc3f3970b469503db202e0bdda28 (patch) | |
tree | 29833bc540d8f30378e82deaae842a21aecb2ab6 /ui/app/app.js | |
parent | 3ae479f5ac3a569eb3840f119148bc4db626a295 (diff) | |
parent | 2880f8631c4de09860b2be01c90b4b30d08c8415 (diff) | |
download | tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar.gz tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar.bz2 tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar.lz tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar.xz tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.tar.zst tangerine-wallet-browser-f7bb3cdcfebacc3f3970b469503db202e0bdda28.zip |
Merge pull request #368 from MetaMask/CopyTxHash
Copy tx hash
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 8297ed796..525681166 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, { |