mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-24 05:42:03 -04: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
2 changed files with 2 additions and 1 deletions
app/assets/javascripts/discourse
|
@ -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…
Add table
Reference in a new issue