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

update backdrops

This commit is contained in:
Luke Pulverenti 2016-12-02 15:45:11 -05:00
parent 7ce49ea1e8
commit 65ccdb73c7
3 changed files with 7 additions and 8 deletions

View file

@ -14,12 +14,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.365",
"_release": "1.4.365",
"version": "1.4.366",
"_release": "1.4.366",
"_resolution": {
"type": "version",
"tag": "1.4.365",
"commit": "a946b2cfd0bc2fd99121a18cc236f1ce02ad5cf8"
"tag": "1.4.366",
"commit": "0f80ba74da6484e52961e2199505d30a86fe5666"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1",

View file

@ -252,13 +252,13 @@
var rotationInterval;
var currentRotatingImages = [];
var currentRotationIndex = -1;
function setBackdrops(items, enableRotation) {
function setBackdrops(items, enableImageRotation) {
var images = getImageUrls(items);
if (images.length) {
startRotation(images, enableRotation);
startRotation(images, enableImageRotation);
} else {
clearBackdrop();
@ -276,7 +276,7 @@
currentRotatingImages = images;
currentRotationIndex = -1;
if (images.length > 1 && enableRotation() && enableImageRotation !== false) {
if (images.length > 1 && enableImageRotation !== false && enableRotation()) {
rotationInterval = setInterval(onRotationInterval, 20000);
}
onRotationInterval();

View file

@ -33,7 +33,6 @@
}
.cardOverlayFab {
background-color: #282828 !important;
margin-right: .25em !important;
}