From 8500a3f7c637b0a5da8b87a5db178e3c1aa53d5d Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Sun, 23 Sep 2018 02:31:49 -0400 Subject: [PATCH] commento.js: rename postComment to commentNew --- frontend/js/commento.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/js/commento.js b/frontend/js/commento.js index 89a22e1..9b1aa3c 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -472,7 +472,7 @@ } - global.postComment = function(id) { + global.commentNew = function(id) { var textarea = $(ID_TEXTAREA + id); var comment = textarea.value; @@ -957,7 +957,7 @@ classAdd(submit, "submit-button"); classAdd(el, "button-margin"); - attrSet(submit, "onclick", "postComment('" + id + "')"); + attrSet(submit, "onclick", "commentNew('" + id + "')"); append(el, submit); }