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

add guide settings

This commit is contained in:
Luke Pulverenti 2016-09-28 01:11:41 -04:00
parent fab755eccd
commit 35c68c997d
14 changed files with 314 additions and 154 deletions

View file

@ -7,8 +7,9 @@
var type = chkIndicators[i].getAttribute('data-type');
userSettings.set('guide-indicator-' + type, chkIndicators[i].checked);
}
userSettings.set('guide-colorcodedbackgrounds', context.querySelector('.chkColorCodedBackgrounds').checked);
}
function load(context) {
@ -24,6 +25,8 @@
chkIndicators[i].checked = userSettings.get('guide-indicator-' + type) == 'true';
}
}
context.querySelector('.chkColorCodedBackgrounds').checked = userSettings.get('guide-colorcodedbackgrounds') == 'true';
}
function showEditor() {