Last active
June 14, 2018 14:39
-
-
Save jeangontijo/82f0a11f6c71cba47e91e5c5ceeb32d2 to your computer and use it in GitHub Desktop.
Preloader
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
var interval = setInterval(function() { | |
if(document.readyState === 'complete') { | |
document.body.classList.remove('load'); | |
clearInterval(interval); | |
} | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment