Clean-up code

34b2ef0fd7e582e2dccae04e9ee1c9d7ef0aaed1

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +0 -3Ignore whitespace
public/scripts/extensions/regex/index.js+0 -3
@@ -335,8 +335,6 @@ function updateInfoBlock(editorHtml) {
335335 }
336336
337337 const flagInfo = [];
338- // Check flags
339-
340338 flagInfo.push(regex.flags.includes('g') ? t`Applies to all matches` : t`Applies to the first match`);
341339 flagInfo.push(regex.flags.includes('i') ? t`Case insensitive` : t`Case sensitive`);
342340
@@ -346,7 +344,6 @@ function updateInfoBlock(editorHtml) {
346344 } catch (error) {
347345 infoBlock.addClass('error');
348346 infoBlockTextSpan.text(error.message);
349- return;
350347 }
351348}
352349