Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostStream: Fix minor load more issue #2388

Merged
merged 5 commits into from
Feb 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert unrelated change
  • Loading branch information
askvortsov1 committed Jan 13, 2021
commit c9c2083d9bbdf084c41f9be46e7138246dc40467
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) {
w-4 marked this conversation as resolved.
Show resolved Hide resolved
if (index >= this.visibleStart && index < this.visibleEnd) {
return Promise.resolve();
}

Expand Down