News header detection

main
Bob Mottram 2020-11-27 12:52:01 +00:00
parent e36c676d3a
commit ce1900d841
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ def headerButtonsTimeline(defaultTimeline: str,
# if this is a news instance and we are viewing the news timeline # if this is a news instance and we are viewing the news timeline
newsHeader = False newsHeader = False
if defaultTimeline == 'tlnews' and boxName == 'tlnews': if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
newsHeader = True newsHeader = True
if not newsHeader: if not newsHeader:

View File

@ -262,7 +262,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# if this is a news instance and we are viewing the news timeline # if this is a news instance and we are viewing the news timeline
newsHeader = False newsHeader = False
if defaultTimeline == 'tlnews' and boxName == 'tlnews': if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
newsHeader = True newsHeader = True
newPostButtonStr = '' newPostButtonStr = ''