diff options
lint fixes
Diffstat (limited to 'app')
-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 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 } |