commento.js: rename postComment to commentNew
This commit is contained in:
parent
4ffdd2cfb6
commit
8500a3f7c6
@ -472,7 +472,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
global.postComment = function(id) {
|
global.commentNew = function(id) {
|
||||||
var textarea = $(ID_TEXTAREA + id);
|
var textarea = $(ID_TEXTAREA + id);
|
||||||
|
|
||||||
var comment = textarea.value;
|
var comment = textarea.value;
|
||||||
@ -957,7 +957,7 @@
|
|||||||
classAdd(submit, "submit-button");
|
classAdd(submit, "submit-button");
|
||||||
classAdd(el, "button-margin");
|
classAdd(el, "button-margin");
|
||||||
|
|
||||||
attrSet(submit, "onclick", "postComment('" + id + "')");
|
attrSet(submit, "onclick", "commentNew('" + id + "')");
|
||||||
|
|
||||||
append(el, submit);
|
append(el, submit);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user