diff options
Diffstat (limited to 'ext/js/pages/settings/translation-text-replacements-controller.js')
-rw-r--r-- | ext/js/pages/settings/translation-text-replacements-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/pages/settings/translation-text-replacements-controller.js b/ext/js/pages/settings/translation-text-replacements-controller.js index a54c3dd9..ebd1b58d 100644 --- a/ext/js/pages/settings/translation-text-replacements-controller.js +++ b/ext/js/pages/settings/translation-text-replacements-controller.js @@ -268,6 +268,7 @@ class TranslationTextReplacementsEntry { let okay = false; try { if (typeof value === 'string') { + // eslint-disable-next-line no-new new RegExp(value, 'g'); okay = true; } |