Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_topics_ui: Use topics_widget to get number of current rows.
Aman Agrawal198f31fbea73
diff --git a/static/js/recent_topics_ui.js b/static/js/recent_topics_ui.jsindex 09c46c9925e..e00ca00c774 100644--- a/static/js/recent_topics_ui.js+++ b/static/js/recent_topics_ui.js@@ -802,8 +802,7 @@ export function hide() {}function is_focus_at_last_table_row() {- const $topic_rows = $("#recent_topics_table table tbody tr");- return row_focus === $topic_rows.length - 1;+ return row_focus >= topics_widget.get_current_list().length - 1;}function has_unread(row) {