summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-04-18 11:40:24 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-04-18 11:40:24 -0400
commit17a730178def129d49e92d7a9a1b309efc67c755 (patch)
tree21f7629fb04561a07c5b591932937022796aaa6c /app/helpers/projects_helper.rb
parent7cc239528ea7f4905e6d773771006ec661d628d6 (diff)
downloadgitlab-ce-17a730178def129d49e92d7a9a1b309efc67c755.tar.gz
Remove additional misuse of `data-original-title` attribute
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 7e00aacceaa..4470aa16e3f 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -52,7 +52,7 @@ module ProjectsHelper
link_to(author_html, user_path(author), class: "author_link #{"#{opts[:mobile_classes]}" if opts[:mobile_classes]}").html_safe
else
title = opts[:title].sub(":name", sanitize(author.name))
- link_to(author_html, user_path(author), class: "author_link has-tooltip", data: { 'original-title'.to_sym => title, container: 'body' } ).html_safe
+ link_to(author_html, user_path(author), class: "author_link has-tooltip", title: title, data: { container: 'body' } ).html_safe
end
end