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
1 changed files with 1 additions and 1 deletions

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: {