1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 18:35:56 +02:00

Restore old implementation of goToLast()

It's not clear whether this was intentionally omitted.
This commit is contained in:
Franz Liedke
2020-07-31 16:12:44 +02:00
parent a044c642f6
commit e455e6c431

View File

@@ -70,7 +70,7 @@ class PostStreamState {
* @return {Promise} * @return {Promise}
*/ */
goToLast() { goToLast() {
return this.goToIndex(this.count() - 1); return this.goToIndex(this.count() - 1, true);
} }
/** /**