Merge branch 'replay-animation' of https://github.com/sijad/core

This commit is contained in:
Toby Zerner 2016-01-12 19:14:07 +10:30
commit 1e33ca4111

View File

@ -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'));
});
}); });
} }