Skip to content

Commit

Permalink
KAD-3331 Video popup not re-init on ql filter
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Jan 7, 2025
1 parent c1f59ba commit bc3d8b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/assets/js/kb-glight-video-pop-init.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/assets/js/kb-glight-video-pop-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
if ('loading' === document.readyState) {
// The DOM has not yet been loaded.
document.addEventListener('DOMContentLoaded', kadenceBlocksProVideoLightbox.init);
document.addEventListener('kb-query-loaded', kadenceBlocksProVideoLightbox.init);
} else {
// The DOM has already been loaded.
kadenceBlocksProVideoLightbox.init();
Expand Down

0 comments on commit bc3d8b9

Please sign in to comment.