diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-07-29 20:36:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 20:36:17 +0800 |
commit | 948b6ca80b07169f75259eec62ba6a67b0ca41eb (patch) | |
tree | 13fad61c236b1815a735488891192f1f6ce15152 /app/scripts/platforms/extension.js | |
parent | 329c3764496723e6021ccd772a302dc9452efbf4 (diff) | |
download | tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar.gz tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar.bz2 tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar.lz tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar.xz tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.tar.zst tangerine-wallet-browser-948b6ca80b07169f75259eec62ba6a67b0ca41eb.zip |
Fix casing of Etherscan (#6927)
Diffstat (limited to 'app/scripts/platforms/extension.js')
-rw-r--r-- | app/scripts/platforms/extension.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index 0c2d222b8..1007fe24d 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -68,7 +68,7 @@ class ExtensionPlatform { const nonce = parseInt(txMeta.txParams.nonce, 16) const title = 'Confirmed transaction' - const message = `Transaction ${nonce} confirmed! View on EtherScan` + const message = `Transaction ${nonce} confirmed! View on Etherscan` this._showNotification(title, message, url) } @@ -92,12 +92,12 @@ class ExtensionPlatform { } _subscribeToNotificationClicked () { - if (!extension.notifications.onClicked.hasListener(this._viewOnEtherScan)) { - extension.notifications.onClicked.addListener(this._viewOnEtherScan) + if (!extension.notifications.onClicked.hasListener(this._viewOnEtherscan)) { + extension.notifications.onClicked.addListener(this._viewOnEtherscan) } } - _viewOnEtherScan (txId) { + _viewOnEtherscan (txId) { if (txId.startsWith('http://')) { extension.tabs.create({ url: txId }) } |