mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Click mention user
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user