mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Update for new post stream
This commit is contained in:
2
extensions/sticky/js/bootstrap.js
vendored
2
extensions/sticky/js/bootstrap.js
vendored
@@ -35,7 +35,7 @@ app.initializers.add('sticky', function() {
|
||||
function toggleSticky() {
|
||||
this.save({isSticky: !this.isSticky()}).then(discussion => {
|
||||
if (app.current instanceof DiscussionPage) {
|
||||
app.current.stream().sync();
|
||||
app.current.stream.sync();
|
||||
}
|
||||
m.redraw();
|
||||
});
|
||||
|
Reference in New Issue
Block a user