Improved style on comment creation.

This commit is contained in:
Pierre 2018-02-17 11:33:02 +01:00
parent df877ed6be
commit e4a3ab254d

View File

@ -121,7 +121,8 @@ ComunicWeb.components.comments.form = {
//Load the new comment before the form element //Load the new comment before the form element
var newCommentTarget = createElem2({ var newCommentTarget = createElem2({
insertBefore: commentForm, insertBefore: commentForm,
type: "div" type: "div",
class: "box-comment"
}); });
ComunicWeb.components.comments.actions.reload(result.commentID, newCommentTarget); ComunicWeb.components.comments.actions.reload(result.commentID, newCommentTarget);
}); });