Skip to content
Snippets Groups Projects
Unverified Commit 58803cd8 authored by Luke Bennett's avatar Luke Bennett
Browse files

Dont add title attr to user_avatar_without_link if has_tooltip is false

parent 417e79bb
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -117,9 +117,9 @@ module AvatarsHelper
alt: "#{user_name}'s avatar",
src: avatar_url,
data: data_attributes,
class: css_class,
title: user_name
class: css_class
}
image_options[:title] = user_name if has_tooltip
 
tag(:img, image_options)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment