dump update

This commit is contained in:
Tuan-Dung Bui 2023-04-15 18:35:02 +07:00
parent 7680ba4bb0
commit c3b7d465b1
784 changed files with 35 additions and 18 deletions

6
templates/comments/media-js.html Normal file → Executable file
View file

@ -156,13 +156,15 @@
offset: offset,
},
success: function(data) {
var $comment_show_btn = $("#comment-" + id + " .show_more_comment");
$comment_show_btn.hide();
if (id == 0) {
var $comment = $("#comment-" + id);
var $comment_show_btn = $("#comment-" + id + " .show_more_comment");
$comment_show_btn.hide();
$comment.append(data);
} else {
var $comment = $("#comment-" + id + "-children");
var $comment_show_btn = $("#comment-" + id + "-children" + " .show_more_comment");
$comment_show_btn.hide();
$comment.append(data);
}
}