aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 19af9c2ff..267833ed8 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -136,10 +136,12 @@
if( $('#collapsed-comments-' + id).is(':visible')) {
$('#collapsed-comments-' + id).hide();
$('#hide-comments-' + id).html(aStr['showmore']);
+ $('#hide-comments-total-' + id).show();
}
else {
$('#collapsed-comments-' + id).show();
$('#hide-comments-' + id).html(aStr['showfewer']);
+ $('#hide-comments-total-' + id).hide();
}
}