BraydenMoore
commited on
Commit
•
27c6cf0
1
Parent(s):
90523aa
Update templates/index.html
Browse files- templates/index.html +4 -1
templates/index.html
CHANGED
@@ -332,9 +332,12 @@
|
|
332 |
feed.style.opacity = "0.15";
|
333 |
countryElement.textContent = "couldn't connect.";
|
334 |
}
|
335 |
-
else {
|
336 |
window.location.href = "?new=true";
|
337 |
}
|
|
|
|
|
|
|
338 |
};
|
339 |
|
340 |
img.src = newUrl;
|
|
|
332 |
feed.style.opacity = "0.15";
|
333 |
countryElement.textContent = "couldn't connect.";
|
334 |
}
|
335 |
+
else if (firstLoad) {
|
336 |
window.location.href = "?new=true";
|
337 |
}
|
338 |
+
else {
|
339 |
+
refreshImage();
|
340 |
+
}
|
341 |
};
|
342 |
|
343 |
img.src = newUrl;
|