Restore the browser's scroll position on server-initiated reload.

(imported from commit 934659c0f1a2c014cfd2811fe49ea31abad262b2)
This commit is contained in:
Tim Abbott
2014-02-04 16:02:26 -05:00
parent e8834c2a9b
commit 1bd9e5809c
4 changed files with 20 additions and 7 deletions

View File

@@ -143,6 +143,7 @@ MessageList.prototype = {
select_id: function MessageList_select_id(id, opts) {
opts = _.extend({
then_scroll: false,
target_scroll_offset: undefined,
use_closest: false,
empty_ok: false,
mark_read: true,