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

update package creator

This commit is contained in:
Luke Pulverenti 2016-05-05 22:18:14 -04:00
parent e65b47e772
commit 6fb76e7481
4 changed files with 59 additions and 66 deletions

View file

@ -1380,19 +1380,10 @@
}
if (imgUrl) {
var minLazyIndex = 16;
if (options.smallIcon) {
if (index < minLazyIndex) {
html += '<div class="listviewImage small" style="background-image:url(\'' + imgUrl + '\');" item-icon></div>';
} else {
html += '<div class="listviewImage lazy small" data-src="' + imgUrl + '" item-icon></div>';
}
html += '<div class="listviewImage lazy small" data-src="' + imgUrl + '" item-icon></div>';
} else {
if (index < minLazyIndex) {
html += '<div class="listviewImage" style="background-image:url(\'' + imgUrl + '\');" item-icon></div>';
} else {
html += '<div class="listviewImage lazy" data-src="' + imgUrl + '" item-icon></div>';
}
html += '<div class="listviewImage lazy" data-src="' + imgUrl + '" item-icon></div>';
}
} else {
if (options.smallIcon) {