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

update live tv guide

This commit is contained in:
Luke Pulverenti 2015-08-02 19:47:31 -04:00
parent 0380fa5a83
commit 4120f18fc9
27 changed files with 330 additions and 352 deletions

View file

@ -52,7 +52,7 @@
}
$('.recordingItems', elem).html(LibraryBrowser.getPosterViewHtml({
items: recordings,
shape: "auto",
showTitle: true,
@ -101,13 +101,20 @@
});
}
$(document).on('pagebeforeshowready', "#liveTvRecordingsPage", function () {
$(document).on('pagebeforeshowready', "#liveTvSuggestedPage", function () {
var page = this;
if (LibraryBrowser.needsRefresh(page)) {
reload(page);
}
$(page.querySelector('neon-animated-pages')).on('tabchange', function () {
if (parseInt(this.selected) == 3) {
var tabContent = page.querySelector('.recordingsTabContent');
if (LibraryBrowser.needsRefresh(tabContent)) {
reload(tabContent);
}
}
});
});