Last active
July 25, 2024 20:03
-
-
Save brianleejackson/920a61a1d22ee67486ff5a3886ed88a2 to your computer and use it in GitHub Desktop.
Fix Divi CLS (make sure to also exclude it from Delay JS).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var elm=document.getElementsByTagName("html")[0]; | |
elm.style.display="none"; | |
document.addEventListener("DOMContentLoaded",function(event) {elm.style.display="block"; }); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment