Skip to content

Commit 3295067

Browse files
committed
Fix web version theme
1 parent 669ecf9 commit 3295067

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chrome/player/options/options.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ if (parent !== window) {
498498
document.body.classList.add('frame');
499499
}
500500

501-
if (EnvUtils.isExtension()) {
502-
// React to external changes via OptionsStore
503-
OptionsStore.subscribe(() => loadOptions(OptionsStore.get()));
501+
// React to external changes via OptionsStore
502+
OptionsStore.subscribe(() => loadOptions(OptionsStore.get()));
504503

504+
if (EnvUtils.isExtension()) {
505505
// Also refresh when becoming visible to catch recent changes
506506
const o = new IntersectionObserver(([entry]) => {
507507
if (entry.isIntersecting) loadOptions(OptionsStore.get());

0 commit comments

Comments
 (0)