aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/contentscript.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-08-04 05:48:19 +0800
committerkumavis <aaron@kumavis.me>2017-08-04 05:48:19 +0800
commitda7471e0958d30b4465ef35090dbfa05b85471f0 (patch)
tree25503a2f23aef89b517dde6d6e991ad0bd1d1134 /app/scripts/contentscript.js
parenteff9a578f7c6f9435d7fabc3ec5efb7619b825d9 (diff)
downloadtangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar.gz
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar.bz2
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar.lz
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar.xz
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.tar.zst
tangerine-wallet-browser-da7471e0958d30b4465ef35090dbfa05b85471f0.zip
lint fixes
Diffstat (limited to 'app/scripts/contentscript.js')
-rw-r--r--app/scripts/contentscript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js
index 291b922e8..4b674dcc0 100644
--- a/app/scripts/contentscript.js
+++ b/app/scripts/contentscript.js
@@ -81,7 +81,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
}