Closed reckerswartz closed 5 years ago
console showing error on this line don't know why
https://github.com/mdbootstrap/bootstrap-material-design/blob/61af89d242e36dea4f530dc0019230b60a58b5d1/js/mdb.js#L15413
Edit: found the issue I am using rails and initializing MDB in the head tag. so The body hasn't been defined at this point yet. You want to wrap this code in a window.onload handler
Problem with initializing mdb in header will be fixed in next the release. https://github.com/mdbootstrap/bootstrap-material-design/issues/49
console showing error on this line don't know why
https://github.com/mdbootstrap/bootstrap-material-design/blob/61af89d242e36dea4f530dc0019230b60a58b5d1/js/mdb.js#L15413
Edit: found the issue I am using rails and initializing MDB in the head tag. so The body hasn't been defined at this point yet. You want to wrap this code in a window.onload handler