You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is another tip: use observer.disconnect(); before removing nodes in function hideAmericanAndCanadianStatesFromFilter (and if needed, use .observe(...) to continue listening again when the function finishes). Currently it is not a huge problem because you are only removing nodes, but usually it will lead to performance issues when a DOM mutation triggers the MutationObserver, which in turn triggers a DOM mutation, etc.
The text was updated successfully, but these errors were encountered:
From the FireFox add-on review team:
Here is another tip: use observer.disconnect(); before removing nodes in function hideAmericanAndCanadianStatesFromFilter (and if needed, use .observe(...) to continue listening again when the function finishes). Currently it is not a huge problem because you are only removing nodes, but usually it will lead to performance issues when a DOM mutation triggers the MutationObserver, which in turn triggers a DOM mutation, etc.
The text was updated successfully, but these errors were encountered: