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:
parent
dc87e4ccc2
commit
1ab2aaa51a
3 changed files with 18 additions and 6 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue