Skip to content

Search feature doesn't work on all docs pages  #7294

@cabhishek

Description

@cabhishek

Ways to reproduce:

  1. Goto https://nim-lang.org/docs/tut1.html
  2. Type json in the search bar and click Module Json from the search result (works)
  3. On the actual Json module page type macros (or anything), the search bar doesn't work anymore

This used to work prior to v0.18.0 and is quite critical for discoverability.

Browser shows following error:

dochack.js:1448 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
    at dosearch_28190 (dochack.js:1448)
    at wrapper_28415 (dochack.js:1527)

Tested on Chrome Version 64.0.3282.186 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationRelated to documentation content (not generation).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions