diff --git a/src/components/themeMediaPlayer.js b/src/components/themeMediaPlayer.js index 7e6574e90b..8266c9c2b7 100644 --- a/src/components/themeMediaPlayer.js +++ b/src/components/themeMediaPlayer.js @@ -26,8 +26,8 @@ function playThemeMedia(items, ownerId) { enableRemotePlayers: false }).then(function () { currentOwnerId = ownerId; - }); - document.getElementsByClassName("nowPlayingBarTop")[0].style.display = "none"; + }) + } else { stopIfPlaying(); }