recent_topics: Update reply button on topic row click.

Use can stay in recent_topics after clicking on mute and
read button, so we need to update reply button text here.
This commit is contained in:
Aman Agrawal 2021-05-10 12:21:37 +00:00 committed by Tim Abbott
parent d8f554eb52
commit 98b9c7284e
1 changed files with 3 additions and 0 deletions

View File

@ -695,6 +695,9 @@ export function focus_clicked_element($elt, col) {
current_focus_elem = "table"; current_focus_elem = "table";
col_focus = col; col_focus = col;
row_focus = $elt.closest("tr").index(); row_focus = $elt.closest("tr").index();
// Set compose_closed_ui reply button text. The rest of the table
// focus logic should be a noop.
set_table_focus(row_focus, col_focus);
} }
export function change_focused_element($elt, input_key) { export function change_focused_element($elt, input_key) {