mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:21:52 +02:00
Merge pull request #1199 from nunocoracao/1198-gallery-shortcode-not-loading-correctly
🐛 fix gallery js code
This commit is contained in:
commit
f481e64411
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ function _getDefaultPackeryOptions() {
|
||||||
}
|
}
|
||||||
|
|
||||||
(function init() {
|
(function init() {
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
|
||||||
|
$(window).on("load", function () {
|
||||||
console.groupCollapsed('[DEBUG] Gallery feature enable');
|
console.groupCollapsed('[DEBUG] Gallery feature enable');
|
||||||
let packeries = [];
|
let packeries = [];
|
||||||
let nodeGalleries = document.querySelectorAll('.gallery');
|
let nodeGalleries = document.querySelectorAll('.gallery');
|
||||||
|
|
Loading…
Add table
Reference in a new issue