diff --git a/seahub/avatar/templatetags/avatar_tags.py b/seahub/avatar/templatetags/avatar_tags.py
index 6915a4aafe..24800c6bb3 100644
--- a/seahub/avatar/templatetags/avatar_tags.py
+++ b/seahub/avatar/templatetags/avatar_tags.py
@@ -95,14 +95,14 @@ def avatar(user, size=AVATAR_DEFAULT_SIZE):
logger.error(e)
url = get_default_avatar_non_registered_url()
- return format_html("""""" % (url, size, size))
+ return format_html("""""" % (url, size, size))
@cache_result
@register.simple_tag
def primary_avatar(user, size=AVATAR_DEFAULT_SIZE):
"""
This tag tries to get the default avatar for a user without doing any db
- requests. It achieve this by linking to a special view that will do all the
+ requests. It achieve this by linking to a special view that will do all the
work for us. If that special view is then cached by a CDN for instance,
we will avoid many db calls.
"""
diff --git a/seahub/templates/registration/login.html b/seahub/templates/registration/login.html
index e3221ab999..65b25a6af6 100644
--- a/seahub/templates/registration/login.html
+++ b/seahub/templates/registration/login.html
@@ -197,12 +197,6 @@ $('#login-form').on('submit', function(){
return false;
}
});
-// set tabindex
-$(function() {
- $('input:not([type="hidden"])').each(function(index) {
- $(this).attr('tabindex', index + 1);
- });
-});
{% if enable_sso %}
$(function() {
diff --git a/seahub/templates/registration/multi_adfs_sso.html b/seahub/templates/registration/multi_adfs_sso.html
index 1cb3244831..6270ca9b30 100644
--- a/seahub/templates/registration/multi_adfs_sso.html
+++ b/seahub/templates/registration/multi_adfs_sso.html
@@ -32,10 +32,10 @@ html, body, #wrapper { height:100%; }
{% block main_content %}