diff options
author | Mario <mario@mariovavti.com> | 2024-10-04 06:50:06 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-04 06:50:06 +0000 |
commit | 7d41deebce656a3812cea6556123e5c5805196da (patch) | |
tree | ae0169afff49d2fac28be441f0393763d63952e2 /view | |
parent | 7e48caae6b104896e0b6bf95cf834d03962fdc09 (diff) | |
download | volse-hubzilla-7d41deebce656a3812cea6556123e5c5805196da.tar.gz volse-hubzilla-7d41deebce656a3812cea6556123e5c5805196da.tar.bz2 volse-hubzilla-7d41deebce656a3812cea6556123e5c5805196da.zip |
Fix modal backdrop not removed when like/unlike from the modal
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 3 |
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; |