forked from mirrors/easyappointments
Make sure the window.cookieconsent object is loaded before using it, as some browsers or extensions might block it
This commit is contained in:
parent
980fc3b6f7
commit
ccca6202fc
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ window.FrontendBook = window.FrontendBook || {};
|
|||
defaultEventHandlers = defaultEventHandlers || true;
|
||||
manageMode = manageMode || false;
|
||||
|
||||
if (GlobalVariables.displayCookieNotice) {
|
||||
if (GlobalVariables.displayCookieNotice && window.cookieconsent) {
|
||||
cookieconsent.initialise({
|
||||
palette: {
|
||||
popup: {
|
||||
|
|
Loading…
Reference in a new issue