mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move channel view setting to global
This commit is contained in:
parent
5cd71abd36
commit
218112efc1
7 changed files with 43 additions and 18 deletions
|
@ -103,7 +103,6 @@
|
|||
function loadForm(page, user, displayPreferences) {
|
||||
|
||||
page.querySelector('.chkHidePlayedFromLatest').checked = user.Configuration.HidePlayedInLatest || false;
|
||||
page.querySelector('.chkDisplayChannelsInline').checked = !(user.Configuration.EnableChannelView || false);
|
||||
|
||||
page.querySelector('#selectHomeSection1').value = displayPreferences.CustomPrefs.home0 || '';
|
||||
page.querySelector('#selectHomeSection2').value = displayPreferences.CustomPrefs.home1 || '';
|
||||
|
@ -154,8 +153,6 @@
|
|||
|
||||
user.Configuration.HidePlayedInLatest = page.querySelector('.chkHidePlayedFromLatest').checked;
|
||||
|
||||
user.Configuration.EnableChannelView = !page.querySelector('.chkDisplayChannelsInline').checked;
|
||||
|
||||
user.Configuration.LatestItemsExcludes = getCheckboxItems(".chkIncludeInLatest", page, false).map(function (i) {
|
||||
|
||||
return i.getAttribute('data-folderid');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue