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 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;
}