mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
// Remember where we were scrolled to
|
||||||
saveScrollPosition: function() {
|
saveScrollPosition: function() {
|
||||||
Discourse.Session.current('topicListScrollPosition', $(window).scrollTop());
|
Discourse.Session.current().set('topicListScrollPosition', $(window).scrollTop());
|
||||||
},
|
},
|
||||||
|
|
||||||
// When the topic list is scrolled
|
// When the topic list is scrolled
|
||||||
|
Loading…
Reference in New Issue
Block a user