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) {
335 }335 }
336336
337 const flagInfo = [];337 const flagInfo = [];
338 // Check flags
339
340 flagInfo.push(regex.flags.includes('g') ? t`Applies to all matches` : t`Applies to the first match`);338 flagInfo.push(regex.flags.includes('g') ? t`Applies to all matches` : t`Applies to the first match`);
341 flagInfo.push(regex.flags.includes('i') ? t`Case insensitive` : t`Case sensitive`);339 flagInfo.push(regex.flags.includes('i') ? t`Case insensitive` : t`Case sensitive`);
342340
@@ -346,7 +344,6 @@ function updateInfoBlock(editorHtml) {
346 } catch (error) {344 } catch (error) {
347 infoBlock.addClass('error');345 infoBlock.addClass('error');
348 infoBlockTextSpan.text(error.message);346 infoBlockTextSpan.text(error.message);
349 return;
350 }347 }
351}348}
352349