mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolve AVG false positives
This commit is contained in:
parent
1531e0b85c
commit
fed61f8544
3 changed files with 29 additions and 27 deletions
|
@ -426,12 +426,14 @@
|
|||
|
||||
(function ($, document) {
|
||||
|
||||
var defaultFirstSection = 'smalllibrarytiles-automobile';
|
||||
|
||||
function getDefaultSection(index) {
|
||||
|
||||
switch (index) {
|
||||
|
||||
case 0:
|
||||
return 'librarytiles-automobile';
|
||||
return defaultFirstSection;
|
||||
case 1:
|
||||
return 'resume';
|
||||
case 2:
|
||||
|
@ -451,7 +453,7 @@
|
|||
var section = displayPreferences.CustomPrefs['home' + index] || getDefaultSection(index);
|
||||
|
||||
if (section == 'folders') {
|
||||
section = 'librarytiles-automobile';
|
||||
section = defaultFirstSection;
|
||||
}
|
||||
|
||||
var showLibraryTileNames = displayPreferences.CustomPrefs.enableLibraryTileNames != '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue