From c7e793b66ec734bd08b6012ac67b1435381927ec Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Tue, 11 Jan 2022 23:41:17 +0200 Subject: [PATCH] fix playback speed slider showing up where it shouldn't --- plugins/playback-speed/front.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/playback-speed/front.js b/plugins/playback-speed/front.js index c6cd1316..5755ad19 100644 --- a/plugins/playback-speed/front.js +++ b/plugins/playback-speed/front.js @@ -30,7 +30,7 @@ const observePopupContainer = () => { menu = getSongMenu(); } - if (menu && !menu.contains(slider)) { + if (menu && menu.lastElementChild.lastElementChild.innerText.startsWith('Stats') && !menu.contains(slider)) { menu.prepend(slider); if (!observingSlider) { setupSliderListener();