From e8394e4a1d3f8a24e86683a9d503125f94a0aa07 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 31 Jul 2020 16:42:42 +0200 Subject: [PATCH] Unify pausing --- js/src/forum/states/PostStreamState.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/forum/states/PostStreamState.js b/js/src/forum/states/PostStreamState.js index 1459e0fca..a226394f4 100644 --- a/js/src/forum/states/PostStreamState.js +++ b/js/src/forum/states/PostStreamState.js @@ -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';