1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 01:16:52 +02:00

Unify pausing

This commit is contained in:
Franz Liedke
2020-07-31 16:42:42 +02:00
parent e455e6c431
commit e8394e4a1d

View File

@@ -88,9 +88,10 @@ class PostStreamState {
return this.goToLast();
}
this.paused = true;
this.loadPromise = this.loadNearNumber(number);
this.paused = true;
this.needsScroll = true;
this.noAnimationScroll = noAnimation;
this.locationType = 'number';
@@ -116,7 +117,6 @@ class PostStreamState {
this.loadPromise = this.loadNearIndex(index);
this.paused = true;
this.needsScroll = true;
this.noAnimationScroll = noAnimation;
this.locationType = 'index';