From e4a3ab254dc6f25bd3accc608aa647c9540f109a Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 17 Feb 2018 11:33:02 +0100 Subject: [PATCH] Improved style on comment creation. --- assets/js/components/comments/form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/components/comments/form.js b/assets/js/components/comments/form.js index a881e4ca..d6428ad2 100644 --- a/assets/js/components/comments/form.js +++ b/assets/js/components/comments/form.js @@ -121,7 +121,8 @@ ComunicWeb.components.comments.form = { //Load the new comment before the form element var newCommentTarget = createElem2({ insertBefore: commentForm, - type: "div" + type: "div", + class: "box-comment" }); ComunicWeb.components.comments.actions.reload(result.commentID, newCommentTarget); });