mirror of
https://github.com/flarum/core.git
synced 2025-08-10 02:17:37 +02:00
Fix goToLast
This commit is contained in:
committed by
Franz Liedke
parent
51008bc65d
commit
c03feceb9f
@@ -57,9 +57,7 @@ class PostStreamState {
|
||||
// If we want to go to the reply preview, then we will go to the end of the
|
||||
// discussion and then scroll to the very bottom of the page.
|
||||
if (number === 'reply') {
|
||||
return this.goToLast().then(() => {
|
||||
this.trigger('scrollToIndex', this.count());
|
||||
});
|
||||
return this.goToLast();
|
||||
}
|
||||
|
||||
this.paused = true;
|
||||
|
Reference in New Issue
Block a user