Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker search query string #1589

merged 2 commits into from
Aug 13, 2018


Copy link

Fixes #1584

We had a copy of initSearch running on document ready in main.js which was causing the race condition with the fetching of the index and initialization.

We now explictly send a message from the initialization code to start off search for the query string if any.

I also tweaked the behaviour of the search input for the RTD theme so it does not reload the page when pressing Enter.

@waylan waylan merged commit 7aaf5a6 into mkdocs:master Aug 13, 2018
@yeraydiazdiaz yeraydiazdiaz deleted the worker-search-query-string branch August 13, 2018 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants