Clean-up code

This commit is contained in:
Cohee
2025-03-09 17:47:23 +02:00
parent eef9c3ef62
commit 34b2ef0fd7

View File

@ -335,8 +335,6 @@ function updateInfoBlock(editorHtml) {
}
const flagInfo = [];
// Check flags
flagInfo.push(regex.flags.includes('g') ? t`Applies to all matches` : t`Applies to the first match`);
flagInfo.push(regex.flags.includes('i') ? t`Case insensitive` : t`Case sensitive`);
@ -346,7 +344,6 @@ function updateInfoBlock(editorHtml) {
} catch (error) {
infoBlock.addClass('error');
infoBlockTextSpan.text(error.message);
return;
}
}