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:
2026-05-08 23:42:46 +02:00
parent f71a1711bb
commit df1c1f4a7d
7 changed files with 357 additions and 68 deletions

View File

@@ -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();
}