feat(04-cookie-notice-bugfix): fix CookieNoticePro injectScripts error
Phase 4 complete: - remove undefined injectScripts calls from CookieNoticePro - preserve Consent Mode v2 and GTM integration - add PAUL plan, summary, and changelog
This commit is contained in:
@@ -160,7 +160,6 @@ Make your own cookie information popup in minutes.
|
||||
path: "/"
|
||||
});
|
||||
config.onConsentAccept.call(this);
|
||||
config.showSettingsBtn? injectScripts() : null;
|
||||
if(config.enableGoogleConsentMode) {
|
||||
googleConsentModeHandler();
|
||||
}
|
||||
@@ -202,9 +201,6 @@ Make your own cookie information popup in minutes.
|
||||
}
|
||||
// If already consent is accepted, inject preferences
|
||||
else {
|
||||
if(config.showSettingsBtn) {
|
||||
injectScripts();
|
||||
}
|
||||
if(config.enableMinimize){
|
||||
minimizeCookieBanner();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user