1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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:
vitorsemeano 2020-11-08 20:09:40 +00:00 committed by GitHub
parent f77165f8c0
commit fedb931322
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {