aboutsummaryrefslogtreecommitdiffstats
path: root/netflix-immersive.user.js
diff options
context:
space:
mode:
authorTeddy Wing2020-05-10 17:09:02 +0200
committerTeddy Wing2020-05-10 17:09:02 +0200
commit91a762e4f7f7286869852cc185e2a4cb5e512c42 (patch)
tree5724b10d6ed04bb2a86144adc51928d3c8ff56d7 /netflix-immersive.user.js
parent34da7a1c1b4525dd5ac5f940926f61997c2e54ab (diff)
downloadnetflix-immersive-91a762e4f7f7286869852cc185e2a4cb5e512c42.tar.bz2
fullscreen_credits: Remove `attributeOldValue` on mutation observer
Don't need the old attribute value. I had added this originally to be able to print the values to the console for development. Now it's no longer needed.
Diffstat (limited to 'netflix-immersive.user.js')
-rw-r--r--netflix-immersive.user.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/netflix-immersive.user.js b/netflix-immersive.user.js
index 7800d96..5fdc7bd 100644
--- a/netflix-immersive.user.js
+++ b/netflix-immersive.user.js
@@ -98,8 +98,7 @@ function init_mutation_observer(player) {
}
});
observer.observe(player, {
- attributeFilter: ['class'],
- attributeOldValue: true
+ attributeFilter: ['class']
});
}
// Initialise the mutation observer when the video player becomes available.