Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdarkle authored Feb 14, 2024
1 parent f0ebb03 commit 837d0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ app.initializers.add('darkle/fancybox', () => {

extend(CommentPost.prototype, 'oncreate', function (vnode) {
this.element
.querySelectorAll('img:not(.emoji):not(.Avatar):not(.PostMeta-ip img):not([data-reaction]):not([data-link-preview]):not(.flamoji img):not(.countryFlag img)')
.querySelectorAll('img:not(.emoji):not(.Avatar):not(.PostMeta-ip img):not([data-reaction]):not([data-link-preview]):not(.flamoji img):not(.countryFlag)')
.forEach((node) => {
const fancyboxEl = document.createElement('a');
fancyboxEl.setAttribute('data-fancybox', 'responsive');
Expand Down

0 comments on commit 837d0e9

Please sign in to comment.