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:
parent
e65b47e772
commit
6fb76e7481
4 changed files with 59 additions and 66 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue