Last active
October 17, 2017 22:12
-
-
Save Convincible/95b6265ad188c8670e9c4bb8221a3f6d to your computer and use it in GitHub Desktop.
Add 'js' class to <html> element
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
(function(d){d.className=d.className.replace(/(^|\s)no-js(\s|$)/, ' ') + ' js'}(document.documentElement)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment