mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-27 05:08:11 +03:00
fix comment
This commit is contained in:
parent
b9fca12633
commit
e93c02ced7
|
@ -127,6 +127,7 @@ ls.comments = (function ($) {
|
|||
var aCmt = result.aComments;
|
||||
if (aCmt.length > 0 && result.iMaxIdComment) {
|
||||
$("#comment_last_id").val(result.iMaxIdComment);
|
||||
$('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length);
|
||||
if ($('#block_stream_item_comment').length && ls.blocks) {
|
||||
ls.blocks.load($('#block_stream_item_comment'), 'block_stream');
|
||||
}
|
||||
|
|
|
@ -127,6 +127,7 @@ ls.comments = (function ($) {
|
|||
var aCmt = result.aComments;
|
||||
if (aCmt.length > 0 && result.iMaxIdComment) {
|
||||
$("#comment_last_id").val(result.iMaxIdComment);
|
||||
$('#count-comments').text(parseInt($('#count-comments').text())+aCmt.length);
|
||||
if ($('#block_stream_item_comment').length && ls.blocks) {
|
||||
ls.blocks.load($('#block_stream_item_comment'), 'block_stream');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue