aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-06-16 20:51:00 +0200
committermarijus <mario@mariovavti.com>2014-06-16 20:51:00 +0200
commit4b1625dd164c82bd1e16b85fc70255658954e908 (patch)
tree15806b5f303239af29bd7fd09ab93ab1df6167c0
parent349e5d45ecbd6c6f3bdfe4366e23d10231c04973 (diff)
downloadvolse-hubzilla-4b1625dd164c82bd1e16b85fc70255658954e908.tar.gz
volse-hubzilla-4b1625dd164c82bd1e16b85fc70255658954e908.tar.bz2
volse-hubzilla-4b1625dd164c82bd1e16b85fc70255658954e908.zip
animate show/hide comments
-rw-r--r--view/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 267833ed8..ac457f5ea 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -134,12 +134,12 @@
function showHideComments(id) {
if( $('#collapsed-comments-' + id).is(':visible')) {
- $('#collapsed-comments-' + id).hide();
+ $('#collapsed-comments-' + id).slideUp();
$('#hide-comments-' + id).html(aStr['showmore']);
$('#hide-comments-total-' + id).show();
}
else {
- $('#collapsed-comments-' + id).show();
+ $('#collapsed-comments-' + id).slideDown();
$('#hide-comments-' + id).html(aStr['showfewer']);
$('#hide-comments-total-' + id).hide();
}