mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add dynamic images
This commit is contained in:
parent
7a5667a198
commit
99bfe82587
1 changed files with 4 additions and 1 deletions
|
@ -462,7 +462,7 @@
|
||||||
switch (index) {
|
switch (index) {
|
||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
return 'smalllibrarytiles-automobile';
|
return 'librarytiles-automobile';
|
||||||
case 1:
|
case 1:
|
||||||
return 'resume';
|
return 'resume';
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -493,6 +493,9 @@
|
||||||
else if (section == 'smalllibrarytiles-automobile') {
|
else if (section == 'smalllibrarytiles-automobile') {
|
||||||
Sections.loadLibraryTiles(elem, userId, 'homePageSmallBackdrop', index, true);
|
Sections.loadLibraryTiles(elem, userId, 'homePageSmallBackdrop', index, true);
|
||||||
}
|
}
|
||||||
|
else if (section == 'librarytiles-automobile') {
|
||||||
|
Sections.loadLibraryTiles(elem, userId, 'backdrop', index, true);
|
||||||
|
}
|
||||||
else if (section == 'librarybuttons') {
|
else if (section == 'librarybuttons') {
|
||||||
Sections.loadlibraryButtons(elem, userId, index);
|
Sections.loadlibraryButtons(elem, userId, index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue