diff --git a/extensions/pusher/js/src/forum/index.js b/extensions/pusher/js/src/forum/index.js index 220e23a63..cb2871d8e 100644 --- a/extensions/pusher/js/src/forum/index.js +++ b/extensions/pusher/js/src/forum/index.js @@ -73,7 +73,7 @@ app.initializers.add('flarum-pusher', () => { Button.component({ className: 'Button Button--block DiscussionList-update', onclick: () => { - this.refresh(false).then(() => { + this.attrs.state.refresh(false).then(() => { this.loadingUpdated = false; app.pushedUpdates = []; app.setTitleCount(0);