diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-12 21:28:47 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-12 23:02:45 +0800 |
commit | d9f98a704e33e1c626196bb490be66deba0dda69 (patch) | |
tree | c3b0ab4c1a2dd6be500c552a2dda07300c052839 /ui | |
parent | 7581a4906f25c22ee773bd8537f277b28600d6cf (diff) | |
download | tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar.gz tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar.bz2 tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar.lz tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar.xz tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.tar.zst tangerine-wallet-browser-d9f98a704e33e1c626196bb490be66deba0dda69.zip |
Add tooltip to new tab icon in tx-view
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/tx-view.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index e848297e7..654090da6 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -138,10 +138,14 @@ TxView.prototype.render = function () { h(SelectedAccount), - !isMascara && h('div.open-in-browser', { - onClick: () => global.platform.openExtensionInBrowser(), - }, [h('img', { src: 'images/popout.svg' })]), - + !isMascara && h(Tooltip, { + title: t('openInTab'), + position: 'bottom', + }, [ + h('div.open-in-browser', { + onClick: () => global.platform.openExtensionInBrowser(), + }, [h('img', { src: 'images/popout.svg' })]), + ]), ]), this.renderHeroBalance(), |