diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-12 02:15:38 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-12 02:15:38 +0300 |
commit | 21a46236e07af5c0e16d700a4b87d565e1b46671 (patch) | |
tree | 5f8b23ab69e60da10030c2405b340528a3ff5417 /app | |
parent | f2fab27a562dbb0e1522e388b5719d226ce66e4b (diff) |
Add title attribute to Emojis in award picker
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/issues_helper.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index a7080ddfefb..43262d579e9 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -103,9 +103,12 @@ module IssuesHelper content_tag :div, "", class: "icon emoji-icon emoji-#{unicode}", - "data-emoji" => name, - "data-aliases" => aliases.join(" "), - "data-unicode-name" => unicode + title: name, + data: { + aliases: aliases.join(' '), + emoji: name, + unicode_name: unicode + } end def emoji_author_list(notes, current_user) |