Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Revert #7613
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub committed Jul 10, 2023
1 parent f2e8a80 commit 63b792b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ window.__firefox__.execute(function($) {
}

const futureTimeMs = window.Date.now() + returnToMutationObserverIntervalMs
const queryAttrsFromDocumentBound = querySelectorsFromElement.bind(undefined, document, futureTimeMs)
const queryAttrsFromDocumentBound = querySelectorsFromElement.bind(document, undefined, futureTimeMs)
selectorsPollingIntervalId = window.setInterval(queryAttrsFromDocumentBound, selectorsPollingIntervalMs)
}

Expand Down Expand Up @@ -686,7 +686,6 @@ window.__firefox__.execute(function($) {
* @param {*} switchToMutationObserverAtTime A timestamp that identifies when we should switch to the mutation observer
*/
const querySelectorsFromElement = async (element, switchToMutationObserverAtTime) => {
extractNewSelectors(element)
const elmWithClassOrId = element.querySelectorAll('[class],[id]')

elmWithClassOrId.forEach((node) => {
Expand Down

0 comments on commit 63b792b

Please sign in to comment.