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

@ -40,7 +40,7 @@
backdropImage.style.backgroundImage = "url('" + url + "')";
backdropImage.setAttribute('data-url', url);
backdropImage.style.animation = 'backdrop-fadein ' + 800 + 'ms ease-in normal both';
backdropImage.classList.add('backdropImageFadeIn');
parent.appendChild(backdropImage);
if (!enableAnimation(backdropImage)) {
@ -75,7 +75,7 @@
function cancelAnimation() {
var elem = currentAnimatingElement;
if (elem) {
elem.style.animation = '';
elem.classList.remove('backdropImageFadeIn');
currentAnimatingElement = null;
}
}