From 6bab0b1a806518c8c32c7692a90e4c79578b30ad Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 23 Feb 2018 21:41:30 +0000 Subject: [PATCH] Length bigger than 350 --- webapp/titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 5f2d7b1..f83753d 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1459,7 +1459,7 @@ $("#messagebox").attr('readonly', false); $("#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); } });