02/06 cleanup
All checks were successful
Build Org Website / build (push) Successful in 55s

This commit is contained in:
gitea-actions
2026-06-02 09:55:52 +01:00
parent 2213fe8a0c
commit d63dc6d2cf
7 changed files with 20 additions and 30 deletions

View File

@@ -64,11 +64,9 @@ document.addEventListener('DOMContentLoaded', () => {
let currentRotation = 0;
let rotateControls = null;
// 3) Build galleries per content container
const containers = document.querySelectorAll('main, article, .content, body');
containers.forEach((container) => {
//const links = Array.from(container.querySelectorAll('.figure a, a:has(img.org-svg)'));
const links = Array.from(container.querySelectorAll(
'.figure a, a:has(img.org-svg), a[href$=".mp4"], a[href$=".webm"], a[href$=".mov"], a[href$=".m4v"], a[href$=".ogv"]'
));