From 6c94bbc93fcdbcb729e119bea55f87b5334f650f Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 21 Nov 2020 20:52:38 +0000 Subject: collase the updated content --- view/js/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view') 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; } -- cgit v1.2.3