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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user