From 001c89f2090c354e656419943fc6dec485cebbb3 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 18 Feb 2025 02:07:04 -0800 Subject: [PATCH] fix unstretched photoset hover --- src/features/accesskit/disable_gifs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/accesskit/disable_gifs.js b/src/features/accesskit/disable_gifs.js index 002603fc2f..8cec57aa0d 100644 --- a/src/features/accesskit/disable_gifs.js +++ b/src/features/accesskit/disable_gifs.js @@ -115,7 +115,7 @@ const processBackgroundGifs = function (gifBackgroundElements) { const processRows = function (rowsElements) { rowsElements.forEach(rowsElement => { [...rowsElement.children].forEach(row => { - if (!row.querySelector('figure')) return; + if (!row.querySelector(`figure:not(${keyToCss('unstretched')})`)) return; if (row.previousElementSibling?.classList?.contains(containerClass)) { row.previousElementSibling.append(row);