We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669ecf9 commit 3295067Copy full SHA for 3295067
chrome/player/options/options.mjs
@@ -498,10 +498,10 @@ if (parent !== window) {
498
document.body.classList.add('frame');
499
}
500
501
-if (EnvUtils.isExtension()) {
502
- // React to external changes via OptionsStore
503
- OptionsStore.subscribe(() => loadOptions(OptionsStore.get()));
+// React to external changes via OptionsStore
+OptionsStore.subscribe(() => loadOptions(OptionsStore.get()));
504
+if (EnvUtils.isExtension()) {
505
// Also refresh when becoming visible to catch recent changes
506
const o = new IntersectionObserver(([entry]) => {
507
if (entry.isIntersecting) loadOptions(OptionsStore.get());
0 commit comments