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

Remove unused parameter "page"

This commit is contained in:
grafixeyehero 2022-05-06 23:33:06 +03:00 committed by Bill Thornton
parent 6cdbaa9f4e
commit ee495cd412

View file

@ -89,11 +89,11 @@ function renderItems(page, item) {
const sectionElems = elem.querySelectorAll('.verticalSection'); const sectionElems = elem.querySelectorAll('.verticalSection');
for (let i = 0, length = sectionElems.length; i < length; i++) { for (let i = 0, length = sectionElems.length; i < length; i++) {
renderSection(page, item, sectionElems[i], sectionElems[i].getAttribute('data-type')); renderSection(item, sectionElems[i], sectionElems[i].getAttribute('data-type'));
} }
} }
function renderSection(page, item, element, type) { function renderSection(item, element, type) {
switch (type) { switch (type) {
case 'Program': case 'Program':
loadItems(element, item, type, { loadItems(element, item, type, {