mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 10:45:41 +08:00
Fix bug where new posts wouldn't load after hitting the bottom if you'd filtered
This commit is contained in:
parent
842760e50e
commit
030ecfaa71
app/assets/javascripts/discourse
@ -216,6 +216,7 @@ Discourse.TopicController = Discourse.ObjectController.extend({
|
|||||||
|
|
||||||
topicController.updateBottomBar();
|
topicController.updateBottomBar();
|
||||||
topicController.set('loadingBelow', false);
|
topicController.set('loadingBelow', false);
|
||||||
|
topicController.set('seenBottom', false);
|
||||||
});
|
});
|
||||||
}.observes('postFilters'),
|
}.observes('postFilters'),
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Discourse.TopicBestOfRoute = Discourse.Route.extend({
|
|||||||
this.modelFor('topic').loadPosts(params);
|
this.modelFor('topic').loadPosts(params);
|
||||||
|
|
||||||
// After we load, show the bottom bar
|
// After we load, show the bottom bar
|
||||||
//Em.run.next(function () { topicController.updateBottomBar(); })
|
Em.run.next(function () { topicController.updateBottomBar(); })
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user