Closed meibegger closed 8 years ago
I stumbled across a situation, where i need to include the script in the head of the page. So document.body is not available. Adding an EventListener in case document.body is not available solved this issue for me. What do you think?
Yea, that's probably a good call. Take a look at this PR and let me know what you think. It's very similar but does away with the init function.
I'm going to close out this PR since I implemented is here.
sure!
I stumbled across a situation, where i need to include the script in the head of the page. So document.body is not available. Adding an EventListener in case document.body is not available solved this issue for me. What do you think?