Skip to content

Commit

Permalink
Revert "fix loadNearIndex"
Browse files Browse the repository at this point in the history
This reverts commit 406c6d1.
  • Loading branch information
w-4 authored and askvortsov1 committed Jan 13, 2021
1 parent e3c484f commit d39a944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/states/PostStreamState.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit d39a944

Please sign in to comment.