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

update components

This commit is contained in:
Luke Pulverenti 2016-12-22 10:57:28 -05:00
parent 08972d0648
commit 315d60943d
6 changed files with 24 additions and 7 deletions

View file

@ -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;
}