summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-08-26 18:29:02 +0200
committerJoas Schilling <coding@schilljs.com>2018-08-26 18:29:02 +0200
commit1edf345d4d92913526e88d6da1caec3808bee09e (patch)
tree7ddb14ef8f03aa0159b25d07f0f8b4eb81cfb573 /core/js
parentd644cafae7154a07ef52a6f4db841155d4a7dedc (diff)
downloadnextcloud-server-1edf345d4d92913526e88d6da1caec3808bee09e.tar.gz
nextcloud-server-1edf345d4d92913526e88d6da1caec3808bee09e.zip
Use empty alt tag for avatars since there is always the name next to it
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/jquery.avatar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js
index 7384804c9d4..a821a41cc86 100644
--- a/core/js/jquery.avatar.js
+++ b/core/js/jquery.avatar.js
@@ -141,5 +141,6 @@
img.width = size;
img.height = size;
img.src = url;
+ img.alt = '';
};
}(jQuery));