fix wrong item key
This commit is contained in:
parent
88ca6fc12e
commit
2867cd2043
@ -1165,7 +1165,7 @@ function post_comment(id) {
|
|||||||
$("#comment-edit-form-" + id).serialize(),
|
$("#comment-edit-form-" + id).serialize(),
|
||||||
function(data) {
|
function(data) {
|
||||||
if(data.success) {
|
if(data.success) {
|
||||||
localStorage.removeItem("comment_body");
|
localStorage.removeItem("comment_body-" + id);
|
||||||
$("#comment-edit-preview-" + id).hide();
|
$("#comment-edit-preview-" + id).hide();
|
||||||
$("#comment-edit-wrapper-" + id).hide();
|
$("#comment-edit-wrapper-" + id).hide();
|
||||||
$("#comment-edit-text-" + id).val('');
|
$("#comment-edit-text-" + id).val('');
|
||||||
|
Reference in New Issue
Block a user