Focus messagebox when clicking the chat body

This commit is contained in:
Jeremy Zhang 2018-08-05 07:55:18 +00:00
parent 7fec01090c
commit 4c8ee4ced1

View File

@ -311,6 +311,12 @@
}
});
$("#chatcontent").click(function () {
if (!$('#messagebox').prop('disabled')) {
$("#messagebox").focus();
}
});
if (disabled) {
Materialize.toast('This server is currently disabled. If you are an administrator of this server, please get in touch with a TitanEmbeds team member to lift the ban.', 100000);
return;