mirror of https://github.com/zulip/zulip.git
recent_topics: Check if at last row before moving down.
This looks a regression from some of the recent additions to recent topics.
This commit is contained in:
parent
198f31fbea
commit
eb1c3bc293
|
@ -863,8 +863,10 @@ function up_arrow_navigation(row, col) {
|
|||
}
|
||||
|
||||
function down_arrow_navigation(row, col) {
|
||||
if (is_focus_at_last_table_row()) {
|
||||
return;
|
||||
}
|
||||
const type = get_row_type(row);
|
||||
|
||||
if (type === "stream" && col === 2 && !has_unread(row + 1)) {
|
||||
col_focus = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue