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 8, 2024
1 parent e7292b3 commit a97e22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.messenger.bundle.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
Loading

0 comments on commit a97e22f

Please sign in to comment.