From 925e0b11e8a07e3b6b915cbdad2142ec6c7811b9 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 11 May 2018 07:51:32 +0200 Subject: [PATCH] Set a maximal length to comment input --- assets/js/components/comments/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/components/comments/form.js b/assets/js/components/comments/form.js index c717d871..8c8aa24d 100644 --- a/assets/js/components/comments/form.js +++ b/assets/js/components/comments/form.js @@ -49,6 +49,7 @@ ComunicWeb.components.comments.form = { placeholder: "New comment...", name: "content" }); + newCommentText.maxLength = 255; //Add button group