From 58971bb3b7d4886c090700e35dcd30662cd17fc6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Jan 2023 11:23:05 +0000 Subject: [PATCH] Check for single posts on timelines --- webapp_timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 8208c7ecf..f4a929cee 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -1072,7 +1072,7 @@ def html_timeline(default_timeline: str, if item_ctr > 0: # 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: + if last_item_str and first_post_id != last_post_id: tl_str = tl_str.replace(last_item_str, '') tl_str += text_mode_separator first_post = ''