mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix #1101124 (Mobile client browsing backward skips entry)
This commit is contained in:
parent
75613b4eb5
commit
8134629e59
@ -77,7 +77,7 @@ def build_navigation(start, num, total, url_base): # {{{
|
||||
right_buttons = TD(CLASS('button', style='text-align:right'))
|
||||
|
||||
if start > 1:
|
||||
for t,s in [('First', 1), ('Previous', max(start-(num+1),1))]:
|
||||
for t,s in [('First', 1), ('Previous', max(start-num,1))]:
|
||||
left_buttons.append(A(t, href='%s;start=%d'%(url_base, s)))
|
||||
|
||||
if total > start + num:
|
||||
|
Loading…
x
Reference in New Issue
Block a user