Created
July 13, 2023 08:18
-
-
Save ihorduchenko/b3cac7ead54d4b063607680e5860541a to your computer and use it in GitHub Desktop.
Add helper classes by ABlyft to detect whether script has been loaded
This file contains 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
ablyftTools.domLoaded(function(){ | |
document.documentElement.classList.add('ablyft-loaded'); | |
document.documentElement.classList.remove('no-ablyft'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment