aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-msg.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-09-07 04:45:03 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-09-07 04:45:03 +0800
commit6c83ba762e73419c6db444dde05b3ebe31d7028e (patch)
tree0a1655190af8d8076de514452a70a8b54d27d371 /ui/app/components/pending-msg.js
parent15c12ca4bb6996f43518630ded12c0d7be2d571b (diff)
parent47340ca550cf8bc6738a6970e10b599416da3a39 (diff)
downloadtangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar.gz
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar.bz2
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar.lz
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar.xz
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.tar.zst
tangerine-wallet-browser-6c83ba762e73419c6db444dde05b3ebe31d7028e.zip
Merge branch 'master' into transactionControllerRefractorPt3
Diffstat (limited to 'ui/app/components/pending-msg.js')
-rw-r--r--ui/app/components/pending-msg.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/ui/app/components/pending-msg.js b/ui/app/components/pending-msg.js
index b7133cda8..834719c53 100644
--- a/ui/app/components/pending-msg.js
+++ b/ui/app/components/pending-msg.js
@@ -35,10 +35,21 @@ PendingMsg.prototype.render = function () {
style: {
margin: '10px',
},
- }, `Signing this message can have
+ }, [
+ `Signing this message can have
dangerous side effects. Only sign messages from
sites you fully trust with your entire account.
- This dangerous method will be removed in a future version.`),
+ This dangerous method will be removed in a future version. `,
+ h('a', {
+ href: 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527',
+ style: { color: 'rgb(247, 134, 28)' },
+ onClick: (event) => {
+ event.preventDefault()
+ const url = 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527'
+ global.platform.openWindow({ url })
+ },
+ }, 'Read more here.'),
+ ]),
// message details
h(PendingTxDetails, state),