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.
2 parents 9f9c862 + f83b3c2 commit 8318970Copy full SHA for 8318970
1 file changed
Dist/WebflowOnly/HideContainer.js
@@ -12,6 +12,12 @@ const SetHideContainers = () => {
12
if(_r) {if(_cmsList.classList.contains("w-dyn-empty")) cmsContainer.remove();}
13
else{if(_cmsList.classList.contains("w-dyn-empty")) cmsContainer.style.display = 'none';}
14
});
15
+}
16
17
+if (/complete|interactive|loaded/.test(document.readyState)) {
18
+ SetHideContainers();
19
+} else {
20
+ window.addEventListener('DOMContentLoaded', function () {
21
22
+ })
23
}
-window.addEventListener('DOMContentLoaded', SetHideContainers());
0 commit comments