1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-26 01:50:31 +00:00

Fixed infinite scroll for read and unread displays (#855)

This commit is contained in:
Chad Bergeron 2019-03-21 14:18:44 -04:00 committed by Ozzie Isaacs
parent ec2103a3d0
commit 169ace777a

View File

@ -2113,7 +2113,7 @@ def feed_read_books():
@app.route("/readbooks/", defaults={'page': 1})
@app.route("/readbooks/<int:page>'")
@app.route("/readbooks/<int:page>")
@login_required_if_no_ano
def read_books(page):
return render_read_books(page, True)
@ -2127,7 +2127,7 @@ def feed_unread_books():
@app.route("/unreadbooks/", defaults={'page': 1})
@app.route("/unreadbooks/<int:page>'")
@app.route("/unreadbooks/<int:page>")
@login_required_if_no_ano
def unread_books(page):
return render_read_books(page, False)