diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2019-02-22 10:38:00 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2019-02-22 10:38:00 +0100 |
commit | cabc62f0743be6c6e935f25a90c983d09aeb0e85 (patch) | |
tree | 9a5992f39a6efb3319b312ca54641abb164dc5bb | |
parent | 6875265c1097d74bc6cad0decfa27ac11bf75789 (diff) | |
download | archweb-cabc62f0743be6c6e935f25a90c983d09aeb0e85.tar.gz archweb-cabc62f0743be6c6e935f25a90c983d09aeb0e85.zip |
templates: remove JavaScript form login page
Remove setting focus on the username since this already works without
Javascript.
-rw-r--r-- | templates/registration/login.html | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html index f9acbe99..81f2463b 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -16,14 +16,3 @@ </form> </div> {% endblock %} - -{% block script_block %} -{% load cdn %}{% jquery %} -<script type="text/javascript" src="{% static "archweb.js" %}"></script> -<script type="text/javascript" nonce={{ CSP_NONCE }}> - modify_attributes({ - '#id_username': {autocorrect: 'off', autocapitalize: 'off'} - }); - $('#id_username').focus(); -</script> -{% endblock %} |