mirror of
https://github.com/flarum/core.git
synced 2025-08-13 11:54:32 +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
|
// 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.
|
// discussion and then scroll to the very bottom of the page.
|
||||||
if (number === 'reply') {
|
if (number === 'reply') {
|
||||||
return this.goToLast().then(() => {
|
return this.goToLast();
|
||||||
this.trigger('scrollToIndex', this.count());
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.paused = true;
|
this.paused = true;
|
||||||
|
Reference in New Issue
Block a user