Skip to content

Error when higher level selector does not exist #31

Closed
@ViktorQvarfordt

Description

@ViktorQvarfordt

Maybe its not considered semantically meaningful to have something like the following

<h1>Level 1 header</h1>
<h3>Level 3 header</h3>

But tocify fails with error

Uncaught TypeError: Cannot read property 'top' of undefined, jquery.tocify.js:564

See this demonstration.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions