Skip to content

Commit

Permalink
Merge pull request #11 from jop-software/5-variable-typos
Browse files Browse the repository at this point in the history
💥 fix typos in configuration variables
  • Loading branch information
cngJo authored Oct 2, 2023
2 parents 85f306b + c98fdd3 commit 480a99b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const createPlugin = (config: UserConfig) => {
);
injectScript(
"page",
`window.cookieConentConfiguration = ${JSON.stringify(config)}`
`window.cookieConsentConfiguration = ${JSON.stringify(config)}`
);
injectScript("page", `window.cookieConent = initCookieConsent();`);
injectScript("page", `window.cookieConsent = initCookieConsent();`);
injectScript(
"page",
`window.cookieConent.run(window.cookieConentConfiguration);`
`window.cookieConsent.run(window.cookieConsentConfiguration);`
);
},
},
Expand Down

0 comments on commit 480a99b

Please sign in to comment.