... |
... |
@@ -996,12 +996,10 @@ |
996 |
996 |
window.onload = function() { |
997 |
997 |
let cookieValue = checkCookie(); |
998 |
998 |
console.log("checkCookie",cookieValue); |
999 |
|
- if (0 && cookieValue != null) { |
1000 |
|
- console.log("cookieValue",cookieValue); |
1001 |
|
- } else if (0) { |
1002 |
|
- window.location.href = "https://help8.formcycle.eu/support/home"; |
1003 |
|
- } else { |
|
999 |
+ if (cookieValue == null) { |
1004 |
1004 |
document.getElementById("overlayv8").style.display = "flex"; |
|
1001 |
+ } else if (cookieValue == "true") { |
|
1002 |
+ window.location.href = "https://help8.formcycle.eu/support/home"; |
1005 |
1005 |
} |
1006 |
1006 |
}; |
1007 |
1007 |
|