mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 05:25:31 +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
@ -216,6 +216,7 @@ Discourse.TopicController = Discourse.ObjectController.extend({
|
||||
|
||||
topicController.updateBottomBar();
|
||||
topicController.set('loadingBelow', false);
|
||||
topicController.set('seenBottom', false);
|
||||
});
|
||||
}.observes('postFilters'),
|
||||
|
||||
|
@ -19,7 +19,7 @@ Discourse.TopicBestOfRoute = Discourse.Route.extend({
|
||||
this.modelFor('topic').loadPosts(params);
|
||||
|
||||
// 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