mirror of https://gitlab.com/bashrc2/epicyon
Only remove last post if there are some quantity
parent
58971bb3b7
commit
5257ba4f55
|
@ -1073,6 +1073,7 @@ def html_timeline(default_timeline: str,
|
|||
# if showing the page down icon then remove the last item so that
|
||||
# firstpost does not overlap on the next timeline
|
||||
if last_item_str and first_post_id != last_post_id:
|
||||
if item_ctr > items_per_page / 2:
|
||||
tl_str = tl_str.replace(last_item_str, '')
|
||||
tl_str += text_mode_separator
|
||||
first_post = ''
|
||||
|
|
Loading…
Reference in New Issue