Use label tag for chat username label, and rename javascript function to checkUsernameTooLong to better reflect its purpose

This commit is contained in:
Miguel Jacq 2021-05-17 08:17:45 +10:00
parent 1e5e886577
commit 70593b0b87
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
<div class="chat-container no-js">
<div class="chat-users">
<div class="editable-username">
<p>Your username:</p>
<label for="username">Your username:</label>
<input id="username" value="{{ username }}" />
<p id="username-error"></p>
</div>