This commit is contained in:
@@ -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"]'
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user