Created
June 27, 2018 16:57
-
-
Save tyom/227bfc562fc65138a816ed3a273a5dd2 to your computer and use it in GitHub Desktop.
Insert in the head of the document to replace `no-js` class with `js-enabled` before `body` gets parsed.
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
<script>(function(d){d.className=d.className.replace(/\bno-js\b/,'js-enabled')})(document.documentElement)</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment