Correct the cookie notice condition check

This commit is contained in:
Alex Tselegidis 2023-03-17 07:06:41 +01:00
parent 2b552c4535
commit 8ea1567036

View file

@ -48,7 +48,7 @@ App.Pages.Booking = (function () {
* Initialize the module.
*/
function initialize() {
if (vars('display_cookie_notice')) {
if (Boolean(Number(vars('display_cookie_notice')))) {
cookieconsent.initialise({
palette: {
popup: {