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