Reverse order

main
Bob Mottram 2020-11-06 15:11:50 +00:00
parent fe96691858
commit 5c383bf329
1 changed files with 4 additions and 4 deletions

View File

@ -6604,8 +6604,6 @@ def headerButtonsTimeline(defaultTimeline: str,
if not newsHeader: if not newsHeader:
if not iconsAsButtons: if not iconsAsButtons:
# start of headericons div
tlStr += '<div class="headericons">'
# the search button # the search button
tlStr += \ tlStr += \
'<a class="imageAnchor" href="' + usersPath + \ '<a class="imageAnchor" href="' + usersPath + \
@ -6614,6 +6612,8 @@ def headerButtonsTimeline(defaultTimeline: str,
translate['Search and follow'] + '" alt="| ' + \ translate['Search and follow'] + '" alt="| ' + \
translate['Search and follow'] + \ translate['Search and follow'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
# end of headericons div
tlStr += '</div>'
else: else:
tlStr += \ tlStr += \
'<a href="' + usersPath + \ '<a href="' + usersPath + \
@ -7035,10 +7035,10 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
if defaultTimeline == 'tlnews' and boxName == 'tlnews': if defaultTimeline == 'tlnews' and boxName == 'tlnews':
newsHeader = True newsHeader = True
# end of headericons div # start of headericons div
if not newsHeader: if not newsHeader:
if not iconsAsButtons: if not iconsAsButtons:
newPostButtonStr += '</div>' newPostButtonStr += '<div class="headericons">'
# This creates a link to the profile page when viewed # This creates a link to the profile page when viewed
# in lynx, but should be invisible in a graphical web browser # in lynx, but should be invisible in a graphical web browser