Skip to content

Conversation

@SherylMehta1
Copy link
Contributor

This PR adds a defensive check before calling doSearch() during document ready.

doSearch is conditionally defined depending on loaded features, and calling it unconditionally can result in a runtime error.

This change does not alter behavior when doSearch is available, and simply avoids a crash when it is not.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

✅ All Jest tests passed! This PR is ready to merge.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant