ensure comment counts update after refactor of collapsed comments
This commit is contained in:
parent
335c0cddcf
commit
7a259d4acb
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
|
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDIKA_VERSION', '2.3.1173' );
|
define ( 'FRIENDIKA_VERSION', '2.3.1174' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1105 );
|
define ( 'DB_UPDATE_VERSION', 1105 );
|
||||||
|
|
||||||
|
|
|
@ -246,6 +246,7 @@
|
||||||
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
||||||
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
||||||
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
||||||
|
$('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
|
||||||
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
||||||
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
||||||
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="hide-comments-outer">
|
<div class="hide-comments-outer">
|
||||||
$num_comments <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span>
|
<span id="hide-comments-total-$id" class="hide-comments-total">$num_comments</span> <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;">
|
<div id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user