mirror of https://gitlab.com/bashrc2/epicyon
Avoid any confusion between timeline class and id
parent
5927a52c80
commit
bf12ad059b
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue