From d9f98a704e33e1c626196bb490be66deba0dda69 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 12 Jul 2018 10:58:47 -0230 Subject: Add tooltip to new tab icon in tx-view --- ui/app/components/tx-view.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'ui/app/components/tx-view.js') 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(), -- cgit v1.2.3