dump update
This commit is contained in:
parent
7680ba4bb0
commit
c3b7d465b1
784 changed files with 35 additions and 18 deletions
6
templates/comments/media-js.html
Normal file → Executable file
6
templates/comments/media-js.html
Normal file → Executable 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue