[damned-lies] Login username has autofocus property



commit 906de0f4e8d0b09a5c05395c3ae85e30f19193f5
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Apr 17 16:22:02 2021 +0200

    Login username has autofocus property

 templates/login.html | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/templates/login.html b/templates/login.html
index 8c7c94cb..61574391 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -32,9 +32,6 @@
 {% url 'register' as link %}
   <a href="{{ link }}" class="btn btn-action btn-block">{% trans "Register" %}</a>
 
-<script>
-document.getElementById('id_username').focus()
-</script>
 {% endif %}
 
 </div>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]