mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
eslint: Fix no-jquery/no-append-html errors that need no test changes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
01860422af
commit
382af5f79f
@@ -90,7 +90,8 @@ export function all_rendered_message_lists(): MessageList[] {
|
||||
export function all_rendered_row_for_message_id(message_id: number): JQuery {
|
||||
let $rows = $();
|
||||
for (const msg_list of all_rendered_message_lists()) {
|
||||
$rows = $rows.add(msg_list.get_row(message_id));
|
||||
const $row = msg_list.get_row(message_id);
|
||||
$rows = $rows.add($row);
|
||||
}
|
||||
return $rows;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user