mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-23 21:47:04 +01:00
Click mention user
This commit is contained in:
parent
6fef2853cd
commit
0f6b718b6e
@ -177,6 +177,10 @@ nav .brand-logo {
|
||||
margin-bottom: 11px;
|
||||
}
|
||||
|
||||
#chatcontent .chatusername {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*#chatcontent > p > span {*/
|
||||
/* display: table-row*/
|
||||
/*}*/
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user