Set a maximal length to comment input

This commit is contained in:
Pierre 2018-05-11 07:51:32 +02:00
parent 9126a08d2f
commit 925e0b11e8

View File

@ -49,6 +49,7 @@ ComunicWeb.components.comments.form = {
placeholder: "New comment...", placeholder: "New comment...",
name: "content" name: "content"
}); });
newCommentText.maxLength = 255;
//Add button group //Add button group