From 1721db85a795a2713c3ed2da4ef490b9b6336312 Mon Sep 17 00:00:00 2001 From: partisan Date: Thu, 17 Oct 2024 10:22:31 +0200 Subject: [PATCH] oopsie --- templates/images.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/images.html b/templates/images.html index 13280fd..148f824 100755 --- a/templates/images.html +++ b/templates/images.html @@ -231,8 +231,7 @@ const templateData = document.getElementById('template-data'); const hardCacheEnabled = templateData.getAttribute('data-hard-cache-enabled') === 'true'; - console.log(!hardCacheEnabled) - if (!hardCacheEnabled) { + if (hardCacheEnabled) { // Hard cache is disabled, so skip polling and load images directly const images = document.querySelectorAll("img[data-id]"); images.forEach((img) => {