"null is not an object" Clocklet not rendering
SterlingButters opened this issue · 3 comments
SterlingButters commented
Clocklet was working perfectly in CodePen, after moving into project, I keep getting the following console error:
[Error] TypeError: null is not an object (evaluating 'document.body.addEventListener')
(anonymous function) (clocklet@0.2.4:1:30584)
(anonymous function) (clocklet@0.2.4:1:159)
Global Code (clocklet@0.2.4:1:162)
Any ideas?
SterlingButters commented
Ahh just needed to move script import to body - thoughts to why would be appreciated @luncheon
SterlingButters commented
Ahh yes and I was still using v0.2.4 - Thanks again lol