Skip to content

Commit

Permalink
Fixed observer missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorgmansuryan committed Nov 7, 2024
1 parent cdec1cf commit 7dc914e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.ConversationView.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ humhub.module('mail.ConversationView', function (module, require, $) {
var observer = new MutationObserver(function () {
that.updateSize(true);
});
filePreview.each(function () {
filePreview.each(function (index, element) {
observer.observe(element, { childList: true, subtree: true });
});

Expand Down

0 comments on commit 7dc914e

Please sign in to comment.