mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Click mention user
This commit is contained in:
parent
6fef2853cd
commit
0f6b718b6e
@ -177,6 +177,10 @@ nav .brand-logo {
|
|||||||
margin-bottom: 11px;
|
margin-bottom: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chatcontent .chatusername {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/*#chatcontent > p > span {*/
|
/*#chatcontent > p > span {*/
|
||||||
/* display: table-row*/
|
/* display: table-row*/
|
||||||
/*}*/
|
/*}*/
|
||||||
|
@ -877,6 +877,12 @@
|
|||||||
target: "_blank"
|
target: "_blank"
|
||||||
});
|
});
|
||||||
$('.tooltipped').tooltip();
|
$('.tooltipped').tooltip();
|
||||||
|
$("#chatcontent .chatusername").click(function () {
|
||||||
|
var discordid = $(this).parent().attr("discord_userid");
|
||||||
|
if (discordid) {
|
||||||
|
mention_member(discordid);
|
||||||
|
}
|
||||||
|
});
|
||||||
process_message_users_cache();
|
process_message_users_cache();
|
||||||
return last;
|
return last;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user