diff --git a/webapp/titanembeds/static/css/embedstyle.css b/webapp/titanembeds/static/css/embedstyle.css index 89c7c4c..c09a320 100644 --- a/webapp/titanembeds/static/css/embedstyle.css +++ b/webapp/titanembeds/static/css/embedstyle.css @@ -177,6 +177,10 @@ nav .brand-logo { margin-bottom: 11px; } +#chatcontent .chatusername { + cursor: pointer; +} + /*#chatcontent > p > span {*/ /* display: table-row*/ /*}*/ diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 6bb84d5..dceb298 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -877,6 +877,12 @@ target: "_blank" }); $('.tooltipped').tooltip(); + $("#chatcontent .chatusername").click(function () { + var discordid = $(this).parent().attr("discord_userid"); + if (discordid) { + mention_member(discordid); + } + }); process_message_users_cache(); return last; }