We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7605f6 commit 849652aCopy full SHA for 849652a
packages/kaizen-core/helpers/root-variables/h-root-variables.js
@@ -24,7 +24,7 @@ const hRootVariablesHandler = () => {
24
).unshift();
25
if (body) {
26
hRootVariablesHandler();
27
- ['load', 'resize'].forEach((event) =>
+ ['DOMContentLoaded', 'load', 'resize'].forEach((event) =>
28
window.addEventListener(event, () => hRootVariablesHandler()),
29
);
30
}
0 commit comments