oh my this convenience method sure is not convenient

This commit is contained in:
Sam 2013-08-02 15:11:09 +10:00
parent 803d023e23
commit af685e83ea

View File

@ -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