oopsie
This commit is contained in:
parent
4bd95062a7
commit
1721db85a7
1 changed files with 1 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue