aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index dfec9e0f0..1def07195 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1209,9 +1209,12 @@ function dolike(ident, verb) {
else {
$('#thread-wrapper-' + data.orig_id).replaceWith(data.html);
}
+
$('#wall-item-ago-' + data.id + ' .autotime').timeago();
collapseHeight();
liking = 0;
+ // remove modal backdrop in case the update was triggered from a modal
+ $('.modal-backdrop').remove();
}
});
liking = 1;