Skip to content

Commit

Permalink
READY
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdarkle committed Sep 9, 2024
1 parent 9c8dceb commit 8150c8c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/dist/forum.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ app.initializers.add('darkle/fancybox', () => {
this.initFancybox();
});

extend(CommentPost.prototype, 'onupdate', function () {
this.initFancybox();
});

CommentPost.prototype.initFancybox = function () {
const postBody = this.element.querySelector('.Post-body');
if (!postBody) return;
Expand Down

0 comments on commit 8150c8c

Please sign in to comment.