Merge pull request #833 from Zankaria/ban-form-autofocus

ban_form.html: add autofocus
This commit is contained in:
Lorenzo Yario 2024-10-31 13:51:54 -07:00 committed by GitHub
commit fb55203a2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ $(document).ready(function(){
<label for="reason">{% trans 'Reason' %}</label>
</th>
<td>
<textarea name="reason" id="reason" rows="5" cols="30">{{ reason|e }}</textarea>
<textarea name="reason" id="reason" rows="5" cols="30" autofocus>{{ reason|e }}</textarea>
</td>
</tr>
{% if post and board and not delete %}