diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2017-08-09 07:32:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 07:32:55 +0800 |
commit | 0e6bc6647ee5c0554a4e149514c87ca4d8585d2c (patch) | |
tree | 9135982572ae502242d5cce39890593f1fec68f8 /app/scripts | |
parent | 7db1f30590c9dbd01456517ebf0a24e1f76ddd40 (diff) | |
parent | 922ecb914963c420ef2acdb9e2db91444065f62f (diff) | |
download | tangerine-wallet-browser-0e6bc6647ee5c0554a4e149514c87ca4d8585d2c.tar.gz tangerine-wallet-browser-0e6bc6647ee5c0554a4e149514c87ca4d8585d2c.tar.zst tangerine-wallet-browser-0e6bc6647ee5c0554a4e149514c87ca4d8585d2c.zip |
Merge pull request #1854 from MetaMask/greenkeeper/initial
Greenkeeper/initial
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/contentscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index 6fde0edcd..acacf5d4c 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -86,7 +86,7 @@ function suffixCheck () { var currentUrl = window.location.href var currentRegex for (let i = 0; i < prohibitedTypes.length; i++) { - currentRegex = new RegExp(`\.${prohibitedTypes[i]}$`) + currentRegex = new RegExp(`\\.${prohibitedTypes[i]}$`) if (currentRegex.test(currentUrl)) { return false } |