mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 22:17:03 +01:00
Focus messagebox when clicking the chat body
This commit is contained in:
parent
7fec01090c
commit
4c8ee4ced1
@ -311,6 +311,12 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#chatcontent").click(function () {
|
||||||
|
if (!$('#messagebox').prop('disabled')) {
|
||||||
|
$("#messagebox").focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (disabled) {
|
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);
|
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;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user