Ovski4 / jekyll-tabs

Add tabs on your pages with this Jekyll plugin
MIT License
25 stars 15 forks source link

Uncaught TypeError : querySelectorAll #1

Closed luweizheng closed 2 years ago

luweizheng commented 3 years ago

Hi Baptiste,

I just install your tabs plugins. Now it can not display correct.

image

And when I switch from on tab to another, I got the following error. Could you help me with it?

tabs.js:6 Uncaught TypeError: Cannot read property 'querySelectorAll' of null
    at removeActiveClasses (tabs.js:6)
    at HTMLAnchorElement.<anonymous> (tabs.js:41)
aleksandrenko commented 3 years ago

Same here ... Just not working.

lgarbo commented 3 years ago

If you copy jekyll-tabs.rb and template.erb inside your _plugins directory it works

Ovski4 commented 2 years ago

Sorry for the (very long) delay, I just noticed these open issues.

Feel free to let me know, and I'll re-open it if you need help. Please include steps, Jekyll versions and any useful information to help reproduce issues.