mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
The orig_initial_pointer variable was part of the implementation for ensuring server-initiated reloads preserve the user's selected message and scroll position (so that they are not disruptive). Previously, the logic did some unnecessary contortions to ensure the two goals: * The `pointer.js` logic knows what the server thinks the pointer is. * The `message_fetch.js` logic knows what anchor to use to center it's home view fetch. It's a lot cleaner to do this by not mutating page_params.pointer.
4.2 KiB
4.2 KiB