diff --git a/webinterface.py b/webinterface.py
index 9e9e578bf..84b1550b6 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6450,12 +6450,12 @@ def headerButtonsTimeline(defaultTimeline: str,
# the newswire button to show right column links
if not iconsAsButtons:
tlStr += \
- ' ' + \
'\n'
+ '" class="timelineicon"/>'
else:
# NOTE: deliberately no \n at end of line
tlStr += \
@@ -6468,12 +6468,12 @@ def headerButtonsTimeline(defaultTimeline: str,
# the links button to show left column links
if not iconsAsButtons:
tlStr += \
- ' ' + \
'\n'
+ '" class="timelineicon"/>'
else:
# NOTE: deliberately no \n at end of line
tlStr += \