diff --git a/webinterface.py b/webinterface.py index ae1cd152b..45282e43d 100644 --- a/webinterface.py +++ b/webinterface.py @@ -7029,9 +7029,16 @@ 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': + newsHeader = True + # end of headericons div - if newPostButtonStr and not iconsAsButtons and not newsHeader: - tlStr += '' + if not newsHeader: + if not iconsAsButtons: + newPostButtonStr += '' # This creates a link to the profile page when viewed # in lynx, but should be invisible in a graphical web browser