Commit 94c5bac9 authored by Luke Bennett's avatar Luke Bennett

Keep img title attr

parent 6feb6d90
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment