Add moderation textbox focus

main2
Bob Mottram 2019-09-22 10:22:38 +01:00
parent fb6a19a071
commit 6e0e8b0d12
1 changed files with 1 additions and 1 deletions

View File

@ -2086,7 +2086,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
tlStr+= \
'<form method="POST" action="/users/'+nickname+'/moderationaction">' \
'<div class="container">\n'+ \
' <input type="text" placeholder="'+translate['Nickname or URL. Block using *@domain or nickname@domain']+'" name="moderationAction" value="">' \
' <input type="text" placeholder="'+translate['Nickname or URL. Block using *@domain or nickname@domain']+'" name="moderationAction" value="" autofocus>' \
' <input type="submit" title="'+translate['Remove the above item']+'" name="submitRemove" value="'+translate['Remove']+'">' \
' <input type="submit" title="'+translate['Suspend the above account nickname']+'" name="submitSuspend" value="'+translate['Suspend']+'">' \
' <input type="submit" title="'+translate['Remove a suspension for an account nickname']+'" name="submitUnsuspend" value="'+translate['Unsuspend']+'">' \