mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update live tv
This commit is contained in:
parent
693c99f275
commit
256b44764f
7 changed files with 174 additions and 98 deletions
|
@ -8,11 +8,9 @@
|
|||
|
||||
function getChannelsHtml(channels) {
|
||||
|
||||
return LibraryBrowser.getPosterViewHtml({
|
||||
return LibraryBrowser.getListViewHtml({
|
||||
items: channels,
|
||||
shape: "smallBackdrop",
|
||||
centerText: true,
|
||||
lazy: true
|
||||
smallIcon: true
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -42,6 +40,7 @@
|
|||
var elem = page.querySelector('#items');
|
||||
elem.innerHTML = html;
|
||||
ImageLoader.lazyChildren(elem);
|
||||
$(elem).trigger('create');
|
||||
|
||||
$('.btnNextPage', page).on('click', function () {
|
||||
query.StartIndex += query.Limit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue