Spaces:
Running
Running
Commit
·
ee2a7bc
1
Parent(s):
d57a36f
Update templates/index.html
Browse files- templates/index.html +3 -1
templates/index.html
CHANGED
@@ -176,7 +176,9 @@
|
|
176 |
feed.src = this.src;
|
177 |
};
|
178 |
img.onerror = function() {
|
179 |
-
|
|
|
|
|
180 |
};
|
181 |
img.src = newUrl;
|
182 |
});
|
|
|
176 |
feed.src = this.src;
|
177 |
};
|
178 |
img.onerror = function() {
|
179 |
+
// Set error image or reload with new=true
|
180 |
+
// feed.src = "{{ url_for('static', filename='error.png') }}";
|
181 |
+
window.location.href = "?new=true";
|
182 |
};
|
183 |
img.src = newUrl;
|
184 |
});
|