zachfitz / Ionic-Material

Material Design style and animations for Ionic
http://ionicmaterial.com
Other
2.9k stars 904 forks source link

Uncaught TypeError: Cannot read property 'className' of undefined #162

Open rig1 opened 8 years ago

rig1 commented 8 years ago

I created a project using Ionic Materail. I am getting a error when one of my html is getting called. The error is Uncaught TypeError: Cannot read property 'className' of undefined, http://localhost:8100/lib/ionic-material/dist/ionic.material.min.js, Line: 13 I have added ionic.material.min.js in the index.html. I don't understand what's wrong? Any help will be greatly Appreciated.

kashban commented 8 years ago

See this issue: https://github.com/zachsoft/Ionic-Material/issues/43

There I explain where the error stems from and how to get around it.

Also this is a duplicate of https://github.com/zachsoft/Ionic-Material/issues/161