mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Merge branch 'replay-animation' of https://github.com/sijad/core
This commit is contained in:
commit
1e33ca4111
|
@ -55,7 +55,9 @@ class PostStream extends Component {
|
||||||
return this.goToLast().then(() => {
|
return this.goToLast().then(() => {
|
||||||
$('html,body').stop(true).animate({
|
$('html,body').stop(true).animate({
|
||||||
scrollTop: $(document).height() - $(window).height()
|
scrollTop: $(document).height() - $(window).height()
|
||||||
}, 'fast');
|
}, 'fast', () => {
|
||||||
|
this.flashItem(this.$('.PostStream-item:last-child'));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user