mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
recent_topics: Call revive_current_focus as part of redraw process.
This makes more sense as it ensures we revive focus after every redraw.
This commit is contained in:
@@ -382,7 +382,6 @@ exports.update_filters_view = function () {
|
||||
show_selected_filters();
|
||||
|
||||
topics_widget.hard_redraw();
|
||||
revive_current_focus();
|
||||
};
|
||||
|
||||
function stream_sort(a, b) {
|
||||
@@ -445,8 +444,8 @@ exports.complete_rerender = function () {
|
||||
},
|
||||
html_selector: get_topic_row,
|
||||
simplebar_container: $("#recent_topics_table .table_fix_head"),
|
||||
callback_after_render: revive_current_focus,
|
||||
});
|
||||
revive_current_focus();
|
||||
};
|
||||
|
||||
exports.is_visible = function () {
|
||||
|
||||
Reference in New Issue
Block a user