mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Correct the cookie notice condition check
This commit is contained in:
parent
2b552c4535
commit
8ea1567036
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ App.Pages.Booking = (function () {
|
||||||
* Initialize the module.
|
* Initialize the module.
|
||||||
*/
|
*/
|
||||||
function initialize() {
|
function initialize() {
|
||||||
if (vars('display_cookie_notice')) {
|
if (Boolean(Number(vars('display_cookie_notice')))) {
|
||||||
cookieconsent.initialise({
|
cookieconsent.initialise({
|
||||||
palette: {
|
palette: {
|
||||||
popup: {
|
popup: {
|
||||||
|
|
Loading…
Reference in a new issue