]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use empty alt tag for avatars since there is always the name next to it
authorJoas Schilling <coding@schilljs.com>
Sun, 26 Aug 2018 16:29:02 +0000 (18:29 +0200)
committerJoas Schilling <coding@schilljs.com>
Sun, 26 Aug 2018 16:29:02 +0000 (18:29 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/js/jquery.avatar.js

index 7384804c9d45a8fdd214a757f60e45516cebfd3e..a821a41cc86ad4ad307b588b4814852395e01151 100644 (file)
                img.width = size;
                img.height = size;
                img.src = url;
+               img.alt = '';
        };
 }(jQuery));