Skip to content

Uncaught TypeError when using the minimal layout #45

Description

@StefanoTrv

When using the "minimal" layout, the following error appears in the browser's console.

Uncaught TypeError: can't access property "querySelectorAll", main is null
    <anonymous> https://cdn.jsdelivr.net/gh/dieghernan/chulapa@master/assets/js/chulapa_script.js:5
chulapa_script.js:5:13

It probably appears because this layout does not have a "main" element, unlike the other layouts. However, manually adding a "main" element in a page using the minimal layout does not fix this error.

These pages are working as expected, so probably this error is not causing any real issue. If it matters, I'm using Firefox.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions