Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_topics: Update reply button on topic row click.

Aman Agrawal98b9c7284eeb
diff --git a/static/js/recent_topics.js b/static/js/recent_topics.js
index 8d7d9f48e47..149ced88a78 100644
--- a/static/js/recent_topics.js
+++ b/static/js/recent_topics.js
@@ -695,6 +695,9 @@ export function focus_clicked_element($elt, col) {
current_focus_elem = "table";
col_focus = col;
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) {