Spaces:
Running
Running
Commit
·
495fade
1
Parent(s):
13ced46
Update templates/index.html
Browse files- templates/index.html +1 -3
templates/index.html
CHANGED
@@ -266,7 +266,7 @@
|
|
266 |
<script>
|
267 |
|
268 |
// Handle feed load and refresh
|
269 |
-
|
270 |
document.addEventListener("DOMContentLoaded", function() {
|
271 |
const feed = document.getElementById("feed");
|
272 |
const infoDiv = document.getElementById("info");
|
@@ -279,8 +279,6 @@
|
|
279 |
|
280 |
const loadingGif = "{{ url_for('static', filename='eye.gif') }}";
|
281 |
const newUrl = decodeURIComponent("{{ url|safe }}");
|
282 |
-
|
283 |
-
let controller;
|
284 |
|
285 |
async function refreshImage() {
|
286 |
if(controller) {
|
|
|
266 |
<script>
|
267 |
|
268 |
// Handle feed load and refresh
|
269 |
+
let controller;
|
270 |
document.addEventListener("DOMContentLoaded", function() {
|
271 |
const feed = document.getElementById("feed");
|
272 |
const infoDiv = document.getElementById("info");
|
|
|
279 |
|
280 |
const loadingGif = "{{ url_for('static', filename='eye.gif') }}";
|
281 |
const newUrl = decodeURIComponent("{{ url|safe }}");
|
|
|
|
|
282 |
|
283 |
async function refreshImage() {
|
284 |
if(controller) {
|