diff options
author | Phyrex Tsai <x01ep23i@hotmail.com> | 2018-09-27 23:21:50 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-27 23:21:50 +0800 |
commit | 386110ef0fda622e87fef0f82bb6282f35c420e9 (patch) | |
tree | b388ff3448c0fb9e89efd3a82ffdb5b25830d063 /app | |
parent | 8c3091aa7ad31e41e8f62bd5c0b803de45816b0e (diff) | |
download | tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar.gz tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar.bz2 tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar.lz tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar.xz tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.tar.zst tangerine-wallet-browser-386110ef0fda622e87fef0f82bb6282f35c420e9.zip |
fix tld bug (#5250)
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/ipfsContent.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/lib/ipfsContent.js b/app/scripts/lib/ipfsContent.js index 38682b916..62a808b90 100644 --- a/app/scripts/lib/ipfsContent.js +++ b/app/scripts/lib/ipfsContent.js @@ -5,6 +5,8 @@ module.exports = function (provider) { function ipfsContent (details) { const name = details.url.substring(7, details.url.length - 1) let clearTime = null + if (/^.+\.eth$/.test(name) === false) return + extension.tabs.query({active: true}, tab => { extension.tabs.update(tab.id, { url: 'loading.html' }) |