1
0
Fork 0
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:
Luke Pulverenti 2015-04-14 23:41:29 -04:00
parent 1531e0b85c
commit fed61f8544
3 changed files with 29 additions and 27 deletions

View file

@ -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';