From d39a944cc126789986c32c055115b534ab1aefec Mon Sep 17 00:00:00 2001 From: Wadim Kalmykov Date: Sun, 10 Jan 2021 14:09:12 +0700 Subject: [PATCH] Revert "fix loadNearIndex" This reverts commit 406c6d114cfd679cfeb234c74178463af657c2f4. --- js/src/forum/states/PostStreamState.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/states/PostStreamState.js b/js/src/forum/states/PostStreamState.js index 1adf6b293c..ffaa747efc 100644 --- a/js/src/forum/states/PostStreamState.js +++ b/js/src/forum/states/PostStreamState.js @@ -172,7 +172,7 @@ class PostStreamState { * @return {Promise} */ loadNearIndex(index) { - if (index >= this.visibleStart && index < this.visibleEnd) { + if (index >= this.visibleStart && index <= this.visibleEnd) { return Promise.resolve(); }