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) => {