Skip to content

Panels.length == 0 #2

@AxelHo

Description

@AxelHo

Hi,
the plugin is installed but is not working.
it runs into injectTargets function but the querySelectorAll does not return any elements.
the length of panels is 0.
var panels = document.querySelectorAll('ul.sg-tabs-list > li > a'); console.log(panels.length); // gives 0
Seems to me that the event 'checkPanels' is triggered before the rendering of the panels has been finished.
We are also using the 'plugin-node-tab' and we have 5 Tabs. Maybe that is the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions