From 822e68963277ecd58ed02ab55c0a3d7373de1cf1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Apr 2021 14:09:03 +0100 Subject: [PATCH] Simplify --- webapp_timeline.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 84a1cd059..e8c5ecff8 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -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,