BraydenMoore
commited on
Commit
•
46b3f5c
1
Parent(s):
8101ecc
Update templates/index.html
Browse files- templates/index.html +4 -1
templates/index.html
CHANGED
@@ -327,9 +327,12 @@
|
|
327 |
|
328 |
const urlParams = new URLSearchParams(window.location.search);
|
329 |
const countryElement = document.getElementById("country");
|
330 |
-
if (urlParams.get('
|
331 |
countryElement.textContent = "couldn't connect.";
|
332 |
}
|
|
|
|
|
|
|
333 |
else {
|
334 |
window.location.href = "?new=true";
|
335 |
}
|
|
|
327 |
|
328 |
const urlParams = new URLSearchParams(window.location.search);
|
329 |
const countryElement = document.getElementById("country");
|
330 |
+
if (urlParams.get('id')) {
|
331 |
countryElement.textContent = "couldn't connect.";
|
332 |
}
|
333 |
+
else if (firstLoad === false) {
|
334 |
+
window.location.href = "?new=false";
|
335 |
+
}
|
336 |
else {
|
337 |
window.location.href = "?new=true";
|
338 |
}
|