diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-07-20 12:07:06 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-07-20 12:07:06 +0100 |
commit | 94c5bac97bb6902672fffab7cbb7b747023d38c9 (patch) | |
tree | baf037715c218b91a41358fc5e402d188a920ccd /app | |
parent | 6feb6d908e965aff3fc610983dc9895cdffdf8fc (diff) | |
download | gitlab-ce-94c5bac97bb6902672fffab7cbb7b747023d38c9.tar.gz |
Keep img title attr
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/avatars_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/avatars_helper.rb b/app/helpers/avatars_helper.rb index dd122bf9bda..43d92bde064 100644 --- a/app/helpers/avatars_helper.rb +++ b/app/helpers/avatars_helper.rb @@ -117,9 +117,9 @@ module AvatarsHelper alt: "#{user_name}'s avatar", src: avatar_url, data: data_attributes, - class: css_class + class: css_class, + title: user_name } - image_options[:title] = user_name if has_tooltip tag(:img, image_options) end |