mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_list_view: Discard unused variable.
This commit is contained in:
@@ -1155,7 +1155,7 @@ export class MessageListView {
|
|||||||
this.clear_rendering_state(true);
|
this.clear_rendering_state(true);
|
||||||
this.update_render_window(this.list.selected_idx(), false);
|
this.update_render_window(this.list.selected_idx(), false);
|
||||||
}
|
}
|
||||||
return this.rerender_with_target_scrolltop($selected_row, old_offset);
|
return this.rerender_with_target_scrolltop(old_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
set_message_offset(offset) {
|
set_message_offset(offset) {
|
||||||
@@ -1163,7 +1163,7 @@ export class MessageListView {
|
|||||||
message_viewport.scrollTop($msg.offset().top - offset);
|
message_viewport.scrollTop($msg.offset().top - offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
rerender_with_target_scrolltop(selected_row, target_offset) {
|
rerender_with_target_scrolltop(target_offset) {
|
||||||
// target_offset is the target number of pixels between the top of the
|
// target_offset is the target number of pixels between the top of the
|
||||||
// viewable window and the selected message
|
// viewable window and the selected message
|
||||||
this.clear_table();
|
this.clear_table();
|
||||||
|
Reference in New Issue
Block a user