aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-21 20:52:38 +0000
committerMario <mario@mariovavti.com>2020-11-21 20:52:38 +0000
commit6c94bbc93fcdbcb729e119bea55f87b5334f650f (patch)
tree52e4de5e77c19637fef8604902f12021b52a6f3b /view/js
parent50422c608f829251aa8628732e756c836e6c91d9 (diff)
downloadvolse-hubzilla-6c94bbc93fcdbcb729e119bea55f87b5334f650f.tar.gz
volse-hubzilla-6c94bbc93fcdbcb729e119bea55f87b5334f650f.tar.bz2
volse-hubzilla-6c94bbc93fcdbcb729e119bea55f87b5334f650f.zip
collase the updated content
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 5b6431858..0bc4261f5 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1168,6 +1168,7 @@ function dolike(ident, verb) {
$('#thread-wrapper-' + data.orig_id).replaceWith(data.html);
}
$('#wall-item-ago-' + data.id + ' .autotime').timeago();
+ collapseHeight();
liking = 0;
}
});
@@ -1388,6 +1389,7 @@ function post_comment(id) {
$('#wall-item-comment-wrapper-' + id).before(data.html);
$('#wall-item-ago-' + data.id + ' .autotime').timeago();
$('body').css('cursor', 'unset');
+ collapseHeight();
commentBusy = false;
}