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

add setting to hide library tile names

This commit is contained in:
Luke Pulverenti 2015-03-14 21:58:06 -04:00
parent 9a33cab5cd
commit 7c293a7dd1
3 changed files with 17 additions and 6 deletions

View file

@ -25,6 +25,8 @@
$('#selectHomeSection3', page).val(displayPreferences.CustomPrefs.home2 || '').selectmenu("refresh");
$('#selectHomeSection4', page).val(displayPreferences.CustomPrefs.home3 || '').selectmenu("refresh");
$('#chkEnableLibraryTileNames', page).checked(displayPreferences.CustomPrefs.enableLibraryTileNames != '0').checkboxradio("refresh");
Dashboard.hideLoadingMsg();
}
@ -37,6 +39,7 @@
displayPreferences.CustomPrefs.home1 = $('#selectHomeSection2', page).val();
displayPreferences.CustomPrefs.home2 = $('#selectHomeSection3', page).val();
displayPreferences.CustomPrefs.home3 = $('#selectHomeSection4', page).val();
displayPreferences.CustomPrefs.enableLibraryTileNames = $('#chkEnableLibraryTileNames', page).checked() ? '1' : '0';
ApiClient.updateDisplayPreferences('home', displayPreferences, userId, 'webclient').done(function () {