mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
08972d0648
commit
315d60943d
6 changed files with 24 additions and 7 deletions
|
@ -7,13 +7,15 @@ define(['browser', 'dom', 'css!./viewcontainer-lite'], function (browser, dom) {
|
|||
var pageContainerCount = 3;
|
||||
var selectedPageIndex = -1;
|
||||
|
||||
var forceDisableAnimation = navigator.userAgent.toLowerCase().indexOf('embytheaterpi') !== -1;
|
||||
|
||||
function enableAnimation() {
|
||||
|
||||
// too slow
|
||||
if (browser.tv) {
|
||||
return false;
|
||||
}
|
||||
if (navigator.userAgent.toLowerCase().indexOf('embytheaterpi') !== -1) {
|
||||
if (forceDisableAnimation) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue