-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot read property offsetWidth of 'undefined' #4
Comments
Do you have a page where I can see the error or possibly a jsfiddle? Can't seem to reproduce this on the demo page. Thanks |
I'm not sure how or why this was happening but I was able to fix the issue by moving all the script tags to the end of my layout's body tag, instead of loading them all in the head section. I might be completely wrong, but bootstrap-modal might be attempting to load nodes (i.e. For now, I'll just move my things down. |
Ah yes, the modal manager class creates a default manager on page load attached to body so that sounds like it could be it. While I believe that it's a better practice to have JS files at the bottom of the page, I do not want to enforce it so I will look at fixing this. At the very least I will update the installation with this info. Thanks for looking into this. |
should be fixed now |
Focusfix bugfix
I'm getting that error on this line:
When I execute this:
I suspect that [0] behind $loading has something to do with this error.
The text was updated successfully, but these errors were encountered: