Keep img title attr
This commit is contained in:
parent
6feb6d908e
commit
94c5bac97b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue