Show emoji shortname in tooltip

This commit is contained in:
JC Brand 2019-03-27 08:41:32 +01:00
parent 6cbdaa0f4f
commit 18ad34e194
2 changed files with 3 additions and 1 deletions

2
dist/converse.js vendored
View File

@ -93742,6 +93742,8 @@ __p += ' hidden ';
}; ; }; ;
__p += '"\n data-emoji="' + __p += '"\n data-emoji="' +
__e(emoji._shortname) + __e(emoji._shortname) +
'" title="' +
__e(emoji._shortname) +
'">\n <a href="#" data-emoji="' + '">\n <a href="#" data-emoji="' +
__e(emoji._shortname) + __e(emoji._shortname) +
'"> ' + '"> ' +

View File

@ -3,7 +3,7 @@
<ul class="emoji-picker emoji-picker-{{{category}}} {[ if (o.current_category !== category) { ]} hidden {[ } ]}"> <ul class="emoji-picker emoji-picker-{{{category}}} {[ if (o.current_category !== category) { ]} hidden {[ } ]}">
{[ o._.forEach(o.emojis_by_category[category], function (emoji) { ]} {[ o._.forEach(o.emojis_by_category[category], function (emoji) { ]}
<li class="emoji insert-emoji {[ if (o.shouldBeHidden(emoji._shortname, o.current_skintone, o.toned_emojis)) { ]} hidden {[ }; ]}" <li class="emoji insert-emoji {[ if (o.shouldBeHidden(emoji._shortname, o.current_skintone, o.toned_emojis)) { ]} hidden {[ }; ]}"
data-emoji="{{{emoji._shortname}}}"> data-emoji="{{{emoji._shortname}}}" title="{{{emoji._shortname}}}">
<a href="#" data-emoji="{{{emoji._shortname}}}"> {{ o.transform(emoji._shortname) }} </a> <a href="#" data-emoji="{{{emoji._shortname}}}"> {{ o.transform(emoji._shortname) }} </a>
</li> </li>
{[ }); ]} {[ }); ]}