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