mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
revert the second mutation observer back to the one in the master
This commit is contained in:
@@ -443,7 +443,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
function mutationCallback(mutations) {
|
||||
var observer = new MutationObserver(function(mutations) {
|
||||
// Process the DOM nodes lazily
|
||||
requestIdleCallback(_ => {
|
||||
mutations.forEach(function(mutation) {
|
||||
@@ -459,8 +459,7 @@
|
||||
});
|
||||
});
|
||||
}, {timeout: 1000});
|
||||
}
|
||||
var observer = new MutationObserver(mutationCallback);
|
||||
});
|
||||
observer.observe(document, { childList: true, subtree: true });
|
||||
|
||||
if (tc.settings.audioBoolean) {
|
||||
|
Reference in New Issue
Block a user