From 067479a9f16cb91753acfd1fea5d0a18106e1c44 Mon Sep 17 00:00:00 2001 From: Inverle Date: Tue, 23 Sep 2025 22:12:44 +0200 Subject: Lazy-load `` (#7997) Follow-up of #7636 I found it's the only missing element that needs to be lazy loaded by putting HTML of https://github.com/cure53/HTTPLeaks/blob/main/leak.html into a feed --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p') diff --git a/p/scripts/main.js b/p/scripts/main.js index 06d3609d5..372a86050 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -441,7 +441,7 @@ const freshrssOpenArticleEvent = document.createEvent('Event'); freshrssOpenArticleEvent.initEvent('freshrss:openArticle', true, true); function loadLazyImages(rootElement) { - rootElement.querySelectorAll('img[data-original], iframe[data-original], video[data-original]').forEach(function (el) { + rootElement.querySelectorAll('img[data-original], iframe[data-original], video[data-original], track[data-original]').forEach(function (el) { if (el.tagName === 'VIDEO') { el.poster = el.getAttribute('data-original'); } else { -- cgit v1.2.3