Rewritten infinite scrolling

This commit is contained in:
2018-03-13 22:38:26 +01:00
parent 663070cf2a
commit 3e2594ab9f
10 changed files with 108 additions and 189 deletions

View File

@ -17,7 +17,7 @@ component Quotes(quotes []*arn.Quote, loadMoreIndex int, user *arn.User)
#load-more-target.quotes
QuotesScrollable(quotes, user)
if loadMoreIndex != 0
if loadMoreIndex != -1
.buttons
LoadMore(loadMoreIndex)