From 7a259d4acb0f038a3ac6af899260faaa3037b634 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 23 Nov 2011 14:03:53 -0800 Subject: [PATCH] ensure comment counts update after refactor of collapsed comments --- boot.php | 2 +- js/main.js | 1 + view/hide_comments.tpl | 2 +- 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 @@
-$num_comments $hide_text +$num_comments $hide_text