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

update channel display

This commit is contained in:
Luke Pulverenti 2015-08-19 07:56:03 -04:00
parent dc87e4ccc2
commit 1ab2aaa51a
3 changed files with 18 additions and 6 deletions

View file

@ -159,19 +159,31 @@
user.Configuration.DisplayChannelsInline = page.querySelector('.chkDisplayChannelsInline').checked;
user.Configuration.LatestItemsExcludes = $(".chkIncludeInLatest:not(:checked)", page).get().map(function (i) {
user.Configuration.LatestItemsExcludes = $(".chkIncludeInLatest", page).get().filter(function (i) {
return !i.checked;
}).map(function (i) {
return i.getAttribute('data-folderid');
});
user.Configuration.ExcludeFoldersFromGrouping = null;
user.Configuration.GroupedFolders = $(".chkGroupFolder:checked", page).get().map(function (i) {
user.Configuration.GroupedFolders = $(".chkGroupFolder", page).get().filter(function(i) {
return i.checked;
}).map(function (i) {
return i.getAttribute('data-folderid');
});
user.Configuration.PlainFolderViews = $(".chkPlainFolder:not(:checked)", page).get().map(function (i) {
user.Configuration.PlainFolderViews = $(".chkPlainFolder", page).get().filter(function (i) {
return !i.checked;
}).map(function (i) {
return i.getAttribute('data-folderid');
});