| ... |
... |
@@ -987,7 +987,11 @@ |
| 987 |
987 |
console.log("cookie got",dialogv8); |
| 988 |
988 |
if (dialogv8 != "") { |
| 989 |
989 |
console.log("Cookie found " + dialogv8); |
| 990 |
|
- return false; |
|
990 |
+ if (dialogv8 == "true") { |
|
991 |
+ return true; |
|
992 |
+ } else { |
|
993 |
+ return false; |
|
994 |
+ } |
| 991 |
991 |
} |
| 992 |
992 |
return null; |
| 993 |
993 |
} |
| ... |
... |
@@ -998,7 +998,7 @@ |
| 998 |
998 |
console.log("checkCookie",cookieValue); |
| 999 |
999 |
if (cookieValue == null) { |
| 1000 |
1000 |
document.getElementById("overlayv8").style.display = "flex"; |
| 1001 |
|
- } else if (cookieValue == "true") { |
|
1005 |
+ } else if (cookieValue == true) { |
| 1002 |
1002 |
window.location.href = "https://help8.formcycle.eu/support/home"; |
| 1003 |
1003 |
} |
| 1004 |
1004 |
}; |