aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-23 14:03:53 -0800
committerfriendica <info@friendica.com>2011-11-23 14:03:53 -0800
commit7a259d4acb0f038a3ac6af899260faaa3037b634 (patch)
treec7e54154ba176ed94968af8706f545318e01527a
parent335c0cddcf8544251279dd43526f2846dcebd2c5 (diff)
downloadvolse-hubzilla-7a259d4acb0f038a3ac6af899260faaa3037b634.tar.gz
volse-hubzilla-7a259d4acb0f038a3ac6af899260faaa3037b634.tar.bz2
volse-hubzilla-7a259d4acb0f038a3ac6af899260faaa3037b634.zip
ensure comment counts update after refactor of collapsed comments
-rw-r--r--boot.php2
-rw-r--r--js/main.js1
-rw-r--r--view/hide_comments.tpl2
3 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 4ccdff7ac..e2e8f9448 100644
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
-define ( 'FRIENDIKA_VERSION', '2.3.1173' );
+define ( 'FRIENDIKA_VERSION', '2.3.1174' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1105 );
diff --git a/js/main.js b/js/main.js
index 9741bfaec..35cb75c05 100644
--- a/js/main.js
+++ b/js/main.js
@@ -246,6 +246,7 @@
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
$('#' + 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-dislike').replaceWith($(this).find('.wall-item-dislike'));
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
diff --git a/view/hide_comments.tpl b/view/hide_comments.tpl
index 123546bcc..55ee9dd7b 100644
--- a/view/hide_comments.tpl
+++ b/view/hide_comments.tpl
@@ -1,4 +1,4 @@
<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 id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;">