New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: body is null #31
Comments
I think it should be added to the end of the body tag. |
Dear ipepe, you are including js in head, due to that when website JS and try to assign body to the variable it cannot do this because this elements wasn't crated yeat (body tag is below head). You have to place your script below body. |
Lol, I know what happend. I just assumed that placing script src tags in head is something normal in modern web development. I guess I will have to patch it myself. |
MDB issue source https://github.com/mdbootstrap/bootstrap-material-design/issues/31 mdb js doesn't get loaded well from head tag, but body.
I included mdb.js in head and Im getting
Code:
Error is marked on last line
The text was updated successfully, but these errors were encountered: