News header detection

This commit is contained in:
bashrc committed 2020-11-27 12:52:01 +00:00
1 parent e36c676d3a
commit ce1900d841
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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 = ''