update live tv guide

This commit is contained in:
Luke Pulverenti 2016-06-06 21:55:16 -04:00
parent a391e96df5
commit 0f7541beda
19 changed files with 85 additions and 51 deletions

View file

@ -1,4 +1,4 @@
define(['jQuery', 'scripts/livetvcomponents'], function ($) {
define(['scripts/livetvcomponents'], function () {
function getRecordingGroupHtml(group) {
@ -33,9 +33,9 @@
function renderRecordingGroups(context, groups) {
if (groups.length) {
$('#recordingGroups', context).show();
context.querySelector('#recordingGroups').classList.remove('hide');
} else {
$('#recordingGroups', context).hide();
context.querySelector('#recordingGroups').classList.add('hide');
}
var html = '';
@ -73,7 +73,7 @@
} else {
recordingItems.classList.remove('hiddenScrollX');
}
recordingItems.innerHTML = LibraryBrowser.getPosterViewHtml({
items: recordings,
shape: (enableScrollX() ? 'autooverflow' : 'auto'),