mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:38:01 +08:00
oh my this convenience method sure is not convenient
This commit is contained in:
parent
803d023e23
commit
af685e83ea
|
@ -49,7 +49,7 @@ Discourse.ListTopicsView = Discourse.View.extend(Discourse.LoadMore, {
|
|||
|
||||
// Remember where we were scrolled to
|
||||
saveScrollPosition: function() {
|
||||
Discourse.Session.current('topicListScrollPosition', $(window).scrollTop());
|
||||
Discourse.Session.current().set('topicListScrollPosition', $(window).scrollTop());
|
||||
},
|
||||
|
||||
// When the topic list is scrolled
|
||||
|
|
Loading…
Reference in New Issue
Block a user