Spaces:
Running
Running
Commit
·
66a828d
1
Parent(s):
817327c
Update templates/index.html
Browse files- templates/index.html +2 -1
templates/index.html
CHANGED
@@ -321,11 +321,12 @@
|
|
321 |
country.textContent = "{{ country }}"
|
322 |
};
|
323 |
|
324 |
-
img.onerror = function() {
|
325 |
feed.style.width = "80px";
|
326 |
feed.style.height = "50px";
|
327 |
feed.src = loadingGif;
|
328 |
feed.style.opacity = "0.2";
|
|
|
329 |
|
330 |
const urlParams = new URLSearchParams(window.location.search);
|
331 |
const countryElement = document.getElementById("country");
|
|
|
321 |
country.textContent = "{{ country }}"
|
322 |
};
|
323 |
|
324 |
+
img.onerror = function(event) {
|
325 |
feed.style.width = "80px";
|
326 |
feed.style.height = "50px";
|
327 |
feed.src = loadingGif;
|
328 |
feed.style.opacity = "0.2";
|
329 |
+
console.log("Image loading failed:", event);
|
330 |
|
331 |
const urlParams = new URLSearchParams(window.location.search);
|
332 |
const countryElement = document.getElementById("country");
|