Prettier emoji tooltips

This commit is contained in:
Jeremy Zhang 2017-06-10 03:13:39 +00:00
parent 379475fae9
commit 80c36e7d72
2 changed files with 2 additions and 1 deletions

View File

@ -563,6 +563,7 @@
$('#chatcontent').linkify({ $('#chatcontent').linkify({
target: "_blank" target: "_blank"
}); });
$('.tooltipped').tooltip();
return last; return last;
} }

View File

@ -188,7 +188,7 @@
</script> </script>
<script id="mustache_message_emoji" type="text/template"> <script id="mustache_message_emoji" type="text/template">
<img class="message_emoji" src='https://cdn.discordapp.com/emojis/{{id}}.png' title=":{{name}}:" /> <img class="message_emoji tooltipped" src='https://cdn.discordapp.com/emojis/{{id}}.png' data-position="top" data-delay="200" data-tooltip=":{{name}}:" />
</script> </script>
{% endraw %} {% endraw %}