mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Length bigger than 350
This commit is contained in:
parent
cdc3e80861
commit
6bab0b1a80
@ -1459,7 +1459,7 @@
|
|||||||
$("#messagebox").attr('readonly', false);
|
$("#messagebox").attr('readonly', false);
|
||||||
$("#messagebox").focus();
|
$("#messagebox").focus();
|
||||||
});
|
});
|
||||||
} else if (event.keyCode == 13 && !shift_pressed && $(this).val().length <= 350) {
|
} else if (event.keyCode == 13 && !shift_pressed && $(this).val().length > 350) {
|
||||||
Materialize.toast('You are sending messages too long! 350 characters limit.', 10000);
|
Materialize.toast('You are sending messages too long! 350 characters limit.', 10000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user