Remove jQuery dependency and update theme version to 2.97.0

This commit is contained in:
Eric Gusmao
2026-01-26 20:36:32 -03:00
parent 3a9016a6d9
commit 39209dbab3
5 changed files with 3 additions and 22 deletions
+1 -2
View File
@@ -27,7 +27,7 @@ function _getPackeryOptions(nodeGallery) {
}
(function init() {
$(window).on("load", function () {
window.addEventListener("load", function () {
let packeries = [];
let nodeGalleries = document.querySelectorAll(".gallery");
@@ -35,6 +35,5 @@ function _getPackeryOptions(nodeGallery) {
let packery = new Packery(nodeGallery, _getPackeryOptions(nodeGallery));
packeries.push(packery);
});
console.groupEnd();
});
})();