1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Change the copy to cliboard icon

This commit is contained in:
Frankie 2016-06-21 13:40:02 -07:00
parent bd1d67b219
commit 265725c6ed

View File

@ -63,12 +63,16 @@ NewComponent.prototype.render = function() {
margin: '0 20px', margin: '0 20px',
}, },
}, [ }, [
h('i.fa.fa-clipboard.fa-md.cursor-pointer.color-orange', { h('img.cursor-pointer.color-orange', {
src: 'images/copy.svg',
onClick: (event) => { onClick: (event) => {
event.stopPropagation() event.stopPropagation()
event.preventDefault() event.preventDefault()
copyToClipboard(ethUtil.toChecksumAddress(identity.address)) copyToClipboard(ethUtil.toChecksumAddress(identity.address))
} },
style:{
margin: '0px 5px',
},
}), }),
]), ]),
]) ])