mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update live tv pages
This commit is contained in:
parent
ec67431a0e
commit
a61e96accb
19 changed files with 172 additions and 216 deletions
|
@ -111,16 +111,16 @@
|
|||
|
||||
var i, length;
|
||||
|
||||
var elem = $('.sections', page);
|
||||
var elem = page.querySelector('.sections');
|
||||
|
||||
if (!elem.html().length) {
|
||||
if (!elem.innerHTML) {
|
||||
var html = '';
|
||||
for (i = 0, length = sections.length; i < length; i++) {
|
||||
|
||||
html += '<div class="homePageSection section' + sections[i].id + '"></div>';
|
||||
}
|
||||
|
||||
elem.html(html);
|
||||
elem.innerHTML = html;
|
||||
}
|
||||
|
||||
var promises = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue