cferdinandi / drop

A small CSS component that turns browser-native <details> elements into dropdown menus.
MIT License
77 stars 12 forks source link

Uncaught TypeError: Cannot read property 'classList' of null #38

Closed davidbwaters closed 9 years ago

davidbwaters commented 9 years ago

Hey,

When links are clicked inside the dropdown, I get an error in the console and it won't follow my links. I noticed the 'Drop' demo page is doing the same thing when the inner links are clicked.

Everything seems to be toggling okay aside from not following links.

Here's the testing site in question: http://macdonald.limberlogic.com/

Any ideas?

cferdinandi commented 9 years ago

Hey, good catch. That's a bug in my code that got introduced when I made some updates. If you need this working immediately, I would revert back to v7.0.1. I'll get this fixed asap.

cferdinandi commented 9 years ago

And fixed: https://github.com/cferdinandi/drop/pull/39

Thanks again!

davidbwaters commented 9 years ago

Awesome, thanks