Avoid any confusion between timeline class and id

main
Bob Mottram 2021-02-15 14:31:52 +00:00
parent 5927a52c80
commit bf12ad059b
1 changed files with 9 additions and 9 deletions

View File

@ -416,17 +416,17 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
translate['Mod'] translate['Mod']
navLinks = { navLinks = {
menuProfile: '/users/' + nickname, menuProfile: '/users/' + nickname,
menuInbox: usersPath + '/inbox#timeline', menuInbox: usersPath + '/inbox#timelineposts',
menuSearch: usersPath + '/search', menuSearch: usersPath + '/search',
menuNewPost: usersPath + '/newpost', menuNewPost: usersPath + '/newpost',
menuCalendar: usersPath + '/calendar', menuCalendar: usersPath + '/calendar',
menuDM: usersPath + '/dm#timeline', menuDM: usersPath + '/dm#timelineposts',
menuReplies: usersPath + '/tlreplies#timeline', menuReplies: usersPath + '/tlreplies#timelineposts',
menuOutbox: usersPath + '/inbox#timeline', menuOutbox: usersPath + '/inbox#timelineposts',
menuBookmarks: usersPath + '/tlbookmarks#timeline', menuBookmarks: usersPath + '/tlbookmarks#timelineposts',
menuShares: usersPath + '/tlshares#timeline', menuShares: usersPath + '/tlshares#timelineposts',
menuBlogs: usersPath + '/tlblogs#timeline', menuBlogs: usersPath + '/tlblogs#timelineposts',
# menuEvents: usersPath + '/tlevents#timeline', # menuEvents: usersPath + '/tlevents#timelineposts',
menuNewswire: usersPath + '/newswiremobile', menuNewswire: usersPath + '/newswiremobile',
menuLinks: usersPath + '/linksmobile' menuLinks: usersPath + '/linksmobile'
} }
@ -502,7 +502,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
calendarImage, followApprovals, calendarImage, followApprovals,
iconsAsButtons) iconsAsButtons)
tlStr += ' <div id="timeline" class="timeline-posts">\n' tlStr += ' <div id="timelineposts" class="timeline-posts">\n'
# second row of buttons for moderator actions # second row of buttons for moderator actions
if moderator and boxName == 'moderation': if moderator and boxName == 'moderation':