Skip to content

Commit

Permalink
breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdarkle committed Sep 9, 2024
1 parent 777c113 commit 9c8dceb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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.

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

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

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

// Initialize Carousel for each gallery
Expand Down

0 comments on commit 9c8dceb

Please sign in to comment.