mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Fixing posts not appearing automatically (#32)
This commit is contained in:
@@ -122,7 +122,7 @@ app.initializers.add('flarum-pusher', () => {
|
||||
const oldCount = this.discussion.commentCount();
|
||||
|
||||
app.store.find('discussions', this.discussion.id()).then(() => {
|
||||
this.stream.update();
|
||||
this.stream.update().then(m.redraw);
|
||||
|
||||
if (!document.hasFocus()) {
|
||||
app.setTitleCount(Math.max(0, this.discussion.commentCount() - oldCount));
|
||||
|
Reference in New Issue
Block a user