mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update nowplayingbar
This commit is contained in:
parent
165a3a99a2
commit
8d1e58ad25
2 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@
|
||||||
document.body.insertAdjacentHTML('beforeend', getNowPlayingBarHtml());
|
document.body.insertAdjacentHTML('beforeend', getNowPlayingBarHtml());
|
||||||
nowPlayingBarElement = document.querySelector('.nowPlayingBar');
|
nowPlayingBarElement = document.querySelector('.nowPlayingBar');
|
||||||
|
|
||||||
if ((browserInfo.safari || !AppInfo.isNativeApp) && browserInfo.mobile) {
|
if (browserInfo.safari && browserInfo.mobile) {
|
||||||
// Not handled well here. The wrong elements receive events, bar doesn't update quickly enough, etc.
|
// Not handled well here. The wrong elements receive events, bar doesn't update quickly enough, etc.
|
||||||
nowPlayingBarElement.classList.add('noMediaProgress');
|
nowPlayingBarElement.classList.add('noMediaProgress');
|
||||||
}
|
}
|
||||||
|
|
|
@ -190,7 +190,7 @@
|
||||||
infos.push(getTheaterInfo);
|
infos.push(getTheaterInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!AppInfo.enableAppLayouts && browserInfo.mobile) {
|
if (!AppInfo.enableAppLayouts) {
|
||||||
infos.push(getUpgradeMobileLayoutsInfo);
|
infos.push(getUpgradeMobileLayoutsInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue