mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
Unify pausing
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user