mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-23 21:47:04 +01:00
Notice if sending messages over 350 char
This commit is contained in:
parent
43f4128211
commit
cdc3e80861
@ -1459,6 +1459,8 @@
|
||||
$("#messagebox").attr('readonly', false);
|
||||
$("#messagebox").focus();
|
||||
});
|
||||
} else if (event.keyCode == 13 && !shift_pressed && $(this).val().length <= 350) {
|
||||
Materialize.toast('You are sending messages too long! 350 characters limit.', 10000);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user