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-11-28 14:27:21 -05:00
parent e9974f5344
commit 30584bfef9
10 changed files with 48 additions and 40 deletions

View file

@ -5,24 +5,12 @@
function enableAnimation() {
if (browser.animate) {
return true;
}
if (browser.edge) {
return true;
}
if (!browser.supportsCssAnimation()) {
// too slow
if (browser.tv) {
return false;
}
// An indication of an older browser
if (browser.noFlex) {
return false;
}
return true;
return browser.supportsCssAnimation();
}
function removeCenterFocus(dlg) {
@ -269,6 +257,7 @@
if (enableAnimation()) {
var animated = true;
switch (dlg.animationConfig.exit.name) {
case 'fadeout':
@ -440,6 +429,7 @@
}
if (enableAnimation()) {
switch (dlg.animationConfig.entry.name) {
case 'fadein':