Fix formatting in messageEditCancel

This commit is contained in:
Cohee
2025-10-16 23:30:15 +03:00
parent 59a80fb0a0
commit 41c048ed35
+1 -2
View File
@@ -7284,8 +7284,7 @@ async function messageEditCancel(messageId = this_edit_mes_id) {
// If this is the button then select it's parent. Otherwise, select by messageId.
if (this?.classList?.contains('mes_edit_cancel')) {
thisMesDiv = $(this).closest('.mes');
} else
{
} else {
thisMesDiv = chatElement.children().filter(`[mesid="${messageId}"]`);
}