From bf6a2bd4665b0a7bc33d0d3b8307cd17fcf4fe54 Mon Sep 17 00:00:00 2001 From: ImprovedTube Date: Wed, 17 May 2023 23:50:15 +0200 Subject: [PATCH] returning previous behavior --- menu/skeleton-parts/player.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/skeleton-parts/player.js b/menu/skeleton-parts/player.js index aee7181b3..4f4db14a1 100644 --- a/menu/skeleton-parts/player.js +++ b/menu/skeleton-parts/player.js @@ -90,7 +90,8 @@ extension.skeleton.main.layers.section.player.on.click = { on: { click: function () { if (this.dataset.value === 'true' && satus.storage.get('player_autopause_when_switching_tabs')) { - document.getElementById('only_one_player_instance_playing').flip(false); + document.getElementById('only_one_player_instance_playing').flip(true); + document.getElementById('autopause_when_switching_tabs').flip(false); } } }