mirror of https://github.com/zulip/zulip.git
Maintain scroll position when removing selected message
(imported from commit 1021eac527e677fbcac46d0a7d44dd3244bb903e)
This commit is contained in:
parent
4a58241b17
commit
5aef8b8fad
|
@ -405,8 +405,7 @@ MessageList.prototype = {
|
|||
});
|
||||
}
|
||||
|
||||
this.view.rerender_the_whole_thing();
|
||||
this.select_id(this.selected_id(), {use_closest: true, empty_ok: true});
|
||||
this.rerender();
|
||||
},
|
||||
|
||||
show_edit_message: function MessageList_show_edit_message(row, edit_obj) {
|
||||
|
|
Loading…
Reference in New Issue