From fedb93132258556b3dcea6fc75e8949d19de2323 Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Sun, 8 Nov 2020 20:09:40 +0000 Subject: [PATCH] Update src/components/nowPlayingBar/nowPlayingBar.js since this is already being used, and babel probably have a polyfill for this, i will accept your suggestion as is. Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/components/nowPlayingBar/nowPlayingBar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index ee51776ce..fa68652e7 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -267,6 +267,8 @@ import '../../elements/emby-slider/emby-slider'; } parentContainer.insertAdjacentHTML('afterbegin', getNowPlayingBarHtml()); + window.CustomElements.upgradeSubtree(parentContainer); + nowPlayingBarElement = parentContainer.querySelector('.nowPlayingBar'); if (layoutManager.mobile) {