Skip to content
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

IE9 issue. Unable to get property 'add' of undefined or null reference #23

Closed
synthview opened this issue Sep 22, 2013 · 4 comments
Closed

Comments

@synthview
Copy link

Hello,
I've put your bespoke.js + the js you've used on your demo page on my page but I have this error with IE9-

Unable to get property 'add' of undefined or null reference
on the line:
el.classList.add(moduleName + '-' + cls);

any idea?

@markdalgleish
Copy link
Member

IE9 does't support classList, so you'll need a polyfill like classList.js.

@synthview
Copy link
Author

it worked!! Many thanks!

1 similar comment
@ebrahimsblog
Copy link

it worked!! Many thanks!

@jerfink
Copy link

jerfink commented Jul 6, 2018

perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants