mirror of https://github.com/zulip/zulip.git
Fix autoscroll forever
(imported from commit 66cc2661767f54de54012b4abf930e748071585e)
This commit is contained in:
parent
0a1d142d69
commit
456e735725
|
@ -555,7 +555,7 @@ MessageListView.prototype = {
|
|||
|
||||
// autoscroll_forever: if we're on the last message, keep us on the last message
|
||||
if (last_message_was_selected && page_params.autoscroll_forever) {
|
||||
this.list.select_id(this.list.last().msg.id, {from_rendering: true});
|
||||
this.list.select_id(this.list.last().id, {from_rendering: true});
|
||||
scroll_to_selected();
|
||||
this.list.reselect_selected_id();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue