This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Duplicate Results

#34384
dpotter0540dpotter0540
Participant

Everything under Grouping & Other is turned off.

In using a javascript mutation observer, one thing I’m noticing is it seems the results are running twice each time. In the mutation observer I’m using querySelectorAll to list all the results. It should run one time and display ten nodes in the console.log. Instead, it runs twice. So I’m adding a data attribute on each result element when I add the listener, so that on the second run the listeners aren’t added a second time.