Skip to content

Commit

Permalink
🐛 Fix: fix cookieconsent init error
Browse files Browse the repository at this point in the history
Resolved #314
  • Loading branch information
Lruihao committed Jul 24, 2024
1 parent bcd6987 commit 6cbb898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ class FixIt {
}

initCookieconsent() {
this.config.cookieconsent && cookieconsent.initialise(this.config.cookieconsent);
this.config.cookieconsent && window.cookieconsent?.initialise(this.config.cookieconsent);
}

getSiteTime = () => {
Expand Down

0 comments on commit 6cbb898

Please sign in to comment.