Skip to content

Javascript error when pages containing TOC are resized #2140

Closed
@deepfriedbrain

Description

@deepfriedbrain

Environment

  • Minimal Mistakes version: 4.16.2
  • Ruby gem or remote theme version: NA
  • Jekyll version: 3.8.5
  • Git repository URL: NA
  • GitHub Pages hosted (if yes provide URL to site): NA
  • Operating system: MacOS 10.14.1

Expected behavior

If any page that contains a TOC is resized, the following Javascript error is thrown in the console:

main.min.js:9 Uncaught TypeError: Cannot read property 'sort' of undefined
    at i (main.min.js:9)
    at main.min.js:9

I'm using the default version of the theme (no fork), and have not modified main.min.js. I'm using Chrome 74.x (latest version).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions