mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
114fc7a80b
commit
822e689632
|
@ -479,23 +479,6 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
menuNewswire: usersPath + '/newswiremobile',
|
||||
menuLinks: usersPath + '/linksmobile'
|
||||
}
|
||||
if not accessKeys:
|
||||
accessKeys = {
|
||||
menuProfile: 'p',
|
||||
menuInbox: 'i',
|
||||
menuSearch: '/',
|
||||
menuNewPost: 'n',
|
||||
menuCalendar: 'c',
|
||||
menuDM: 'd',
|
||||
menuReplies: 'r',
|
||||
menuOutbox: 's',
|
||||
menuBookmarks: 'k',
|
||||
menuShares: 'h',
|
||||
menuBlogs: 'b',
|
||||
menuNewswire: 'w',
|
||||
menuLinks: 'l',
|
||||
menuModeration: 'm'
|
||||
}
|
||||
if moderator:
|
||||
navLinks[menuModeration] = usersPath + '/moderation#modtimeline'
|
||||
tlStr += htmlKeyboardNavigation(textModeBanner, navLinks, accessKeys,
|
||||
|
|
Loading…
Reference in New Issue