Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Error in IE9 #26

Open
reckjensen opened this issue Sep 21, 2015 · 1 comment
Open

Error in IE9 #26

reckjensen opened this issue Sep 21, 2015 · 1 comment

Comments

@reckjensen
Copy link

I'm getting this little annoying error in IE9.

TypeError: Unable to get value of the property 'length': object is null or undefined<menu class="nav pagemenu"> 

It works as it should in all other browsers. The page items from the content (h2's) isn't printed i into the pagemenu list.

What to to do?

@wedelgaard
Copy link

The script uses the element.classList property which is not supported in IE9. You could use a polyfill to fix it :)

Like this one: https://github.com/components/classList.js

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

No branches or pull requests

2 participants