Created
December 12, 2018 09:26
-
-
Save SebSept/03b1dc50c20b4da95390655b64c327a3 to your computer and use it in GitHub Desktop.
I never remember this .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
| // document.ready without js | |
| document.addEventListener("DOMContentLoaded", function(event) { | |
| //do work | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment