-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Replace deprecated DOMNodeInserted with MutationObserver for Alg…
…olia DocSearch initialization - Removed deprecated DOMNodeInserted event listener - Implemented MutationObserver to monitor changes in the DOM - Added error handling for better debugging - Ensured observation starts only after DOM is fully loaded - Included comments for better code understanding and future updates
- Loading branch information
1 parent
5f7bba3
commit d03e516
Showing
1 changed file
with
94 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters