Skip to content

Commit

Permalink
Refactor cookie banner code to improve lazy loading of template
Browse files Browse the repository at this point in the history
  • Loading branch information
felixaschultz committed Aug 23, 2024
1 parent fd8e0fe commit a52c8b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cb.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/cb.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ const IntastellarCookieConsent = {
document.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
document.body.append(template);
}, 500);
}, 50);
});
} else {
document.body.append(template);
Expand Down

0 comments on commit a52c8b2

Please sign in to comment.