Downloaded theme

This commit is contained in:
Jirka Stehlík committed 2026-03-23 18:35:59 +01:00
1 parent 326fab0e42
commit d091efd432
86 files changed
+14512

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
document.addEventListener("DOMContentLoaded", function () {
if (typeof window.$ === "undefined" && typeof window.JustifiedGallery === "undefined") {
// using vanilla JustifiedGallery from CDN, globally exposed
}
var roots = document.querySelectorAll("[data-jg]");
if (!roots.length || typeof window.JustifiedGallery === "undefined") return;
roots.forEach(function (el) {
new window.JustifiedGallery(el, {
rowHeight: 260,
lastRow: "center",
margin: 16,
});
});
});