aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-05-10 17:09:02 +0200
committerTeddy Wing2020-05-10 17:09:02 +0200
commit91a762e4f7f7286869852cc185e2a4cb5e512c42 (patch)
tree5724b10d6ed04bb2a86144adc51928d3c8ff56d7 /src
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 'src')
-rw-r--r--src/fullscreen_credits.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fullscreen_credits.ts b/src/fullscreen_credits.ts
index d8b25b9..f558221 100644
--- a/src/fullscreen_credits.ts
+++ b/src/fullscreen_credits.ts
@@ -47,8 +47,7 @@ function init_mutation_observer (player) {
observer.observe(
player,
{
- attributeFilter: ['class'],
- attributeOldValue: true
+ attributeFilter: ['class']
}
);
}