bespokejs / bespoke

DIY Presentation Micro-Framework

Home Page:http://markdalgleish.com/projects/bespoke.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

synthview opened this issue · comments

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?

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

it worked!! Many thanks!

it worked!! Many thanks!

perfect