1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Add alt titles to most critical icons

We can change most of these later to a more "elegant" solution, but from the user perspective, having these tooltips is comforting imo.
This commit is contained in:
Kevin Serrano 2016-06-27 11:55:05 -07:00
parent 36c7ffa585
commit 8c7511e9da
3 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,7 @@ AccountDetailScreen.prototype.render = function () {
h('img.cursor-pointer.color-orange', {
src: 'images/copy.svg',
title: 'Copy Address',
onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)),
style: {
margin: '0px 5px',
@ -115,6 +116,7 @@ AccountDetailScreen.prototype.render = function () {
h('img.cursor-pointer.color-orange', {
src: 'images/key-32.png',
title: 'Export Private Key',
onClick: () => this.requestAccountExport(selected),
style: {
margin: '0px 5px',

View File

@ -62,6 +62,7 @@ NewComponent.prototype.render = function () {
},
}, [
h('img.cursor-pointer.color-orange', {
title: 'Copy Address',
src: 'images/copy.svg',
onClick: (event) => {
event.stopPropagation()

View File

@ -157,6 +157,7 @@ App.prototype.renderAppBar = function () {
width: '23.5px',
marginRight: '8px',
},
title: 'Switch Accounts',
onClick: (event) => {
event.stopPropagation()
this.props.dispatch(actions.showAccountsPage())