diff --git a/webinterface.py b/webinterface.py
index eac955ce8..43d28261c 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6962,6 +6962,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
newsHeader = True
+ newPostButtonStr = ''
# start of headericons div
if not newsHeader:
if not iconsAsButtons:
@@ -6970,7 +6971,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# what screen to go to when a new post is created
if boxName == 'dm':
if not iconsAsButtons:
- newPostButtonStr = \
+ newPostButtonStr += \
'\n'
else:
- newPostButtonStr = \
+ newPostButtonStr += \
'' + \
''
elif boxName == 'tlblogs' or boxName == 'tlnews':
if not iconsAsButtons:
- newPostButtonStr = \
+ newPostButtonStr += \
'\n'
else:
- newPostButtonStr = \
+ newPostButtonStr += \
'' + \
''
elif boxName == 'tlevents':
if not iconsAsButtons:
- newPostButtonStr = \
+ newPostButtonStr += \
'\n'
else:
- newPostButtonStr = \
+ newPostButtonStr += \
'' + \
''
else:
if not manuallyApproveFollowers:
if not iconsAsButtons:
- newPostButtonStr = \
+ newPostButtonStr += \
'\n'
else:
- newPostButtonStr = \
+ newPostButtonStr += \
'' + \
''
else:
if not iconsAsButtons:
- newPostButtonStr = \
+ newPostButtonStr += \
'\n'
else:
- newPostButtonStr = \
+ newPostButtonStr += \
'' + \
''