Chat angepasst, Timestamp-Fix, Jeder hated, Input-Limit auf 35ch gesetzt

This commit is contained in:
Luke
2021-04-27 00:28:08 +00:00
parent 96e12ffd7a
commit a5d985aa6c
4 changed files with 18 additions and 9 deletions

View File

@@ -21,10 +21,9 @@ function enableChatInput(enable) {
mp.invoke("focus", enable);
if (enable) {
chat.input = $("#chat").append('<div><input id="chat_msg" type="text" /></div>').children(":last");
chat.input = $("#chat").append('<div><input id="chat_msg" type="text" maxlength="375" /></div>').children(":last");
chat.input.children("input").focus();
}
else {
} else {
chat.input.fadeOut('fast', function () {
chat.input.remove();
chat.input = null;