Spaces:
Running
Running
Commit
·
68272ed
1
Parent(s):
aa3be44
Update templates/index.html
Browse files- templates/index.html +3 -1
templates/index.html
CHANGED
@@ -295,7 +295,9 @@
|
|
295 |
xhr.open('HEAD', `${newUrl}?t=${new Date().getTime()}`, true);
|
296 |
xhr.onreadystatechange = () => {
|
297 |
if (xhr.readyState === 4 && xhr.status === 200 && xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
298 |
-
|
|
|
|
|
299 |
}
|
300 |
};
|
301 |
xhr.send();
|
|
|
295 |
xhr.open('HEAD', `${newUrl}?t=${new Date().getTime()}`, true);
|
296 |
xhr.onreadystatechange = () => {
|
297 |
if (xhr.readyState === 4 && xhr.status === 200 && xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
298 |
+
setTimeout(() => {
|
299 |
+
setLoadedState();
|
300 |
+
}, 100);
|
301 |
}
|
302 |
};
|
303 |
xhr.send();
|