Avoid duplicate accesskey

main
Bob Mottram 2021-05-30 18:05:09 +01:00
parent c2a77fdd44
commit 1a410dd8ca
1 changed files with 1 additions and 2 deletions

View File

@ -353,8 +353,7 @@ def _getProfileHeader(baseDir: str, httpPrefix: str,
htmlStr = '\n\n <figure class="profileHeader">\n'
htmlStr += ' <a href="/users/' + \
nickname + '/' + defaultTimeline + '" title="' + \
translate['Switch to timeline view'] + '" ' + \
'accesskey="' + accessKeys['menuTimeline'] + '">\n'
translate['Switch to timeline view'] + '">\n'
htmlStr += ' <img class="profileBackground" ' + \
'alt="" ' + \
'src="/users/' + nickname + '/image_' + theme + '.png" /></a>\n'