From ce1900d84141a52307e9375d16ff62101831feb2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 27 Nov 2020 12:52:01 +0000 Subject: [PATCH] News header detection --- webapp_headerbuttons.py | 2 +- webapp_timeline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 1af73d91..83f6b025 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -83,7 +83,7 @@ def headerButtonsTimeline(defaultTimeline: str, # if this is a news instance and we are viewing the news timeline newsHeader = False - if defaultTimeline == 'tlnews' and boxName == 'tlnews': + if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures': newsHeader = True if not newsHeader: diff --git a/webapp_timeline.py b/webapp_timeline.py index 60c3def8..c9dd893f 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -262,7 +262,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # if this is a news instance and we are viewing the news timeline newsHeader = False - if defaultTimeline == 'tlnews' and boxName == 'tlnews': + if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures': newsHeader = True newPostButtonStr = ''