Parse chat links to make them clickable

This commit is contained in:
Jeremy Zhang
2017-04-11 05:00:26 +00:00
parent 0e204bdecc
commit 3ed0b10ed7
3 changed files with 9 additions and 0 deletions

View File

@ -166,3 +166,7 @@ background-color: #546e7a;
margin-right: auto;
font-size: 85%;
}
a {
color: #82b1ff;
}

View File

@ -295,6 +295,9 @@ function fill_discord_messages(messages, jumpscroll) {
last = message.id;
}
$("html, body").animate({ scrollTop: $(document).height() }, "slow");
$('#chatcontent').linkify({
target: "_blank"
});
return last;
}