From adee9280c60def59235063258acdaa20dd4cc85d Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Thu, 7 Dec 2023 18:39:51 +0000 Subject: [PATCH] Update API docs --- docs/api/components_home_HomeRows.bs.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/api/components_home_HomeRows.bs.html b/docs/api/components_home_HomeRows.bs.html index 5bdb709b0..02dabab11 100644 --- a/docs/api/components_home_HomeRows.bs.html +++ b/docs/api/components_home_HomeRows.bs.html @@ -269,6 +269,11 @@ sectionName = tr("My Media") + ' We don't refresh library data, so if section already exists, exit + if sectionExists(sectionName) + return + end if + row = CreateObject("roSGNode", "HomeRow") row.title = sectionName row.imageWidth = homeRowItemSizes.WIDE_POSTER[0] @@ -279,13 +284,6 @@ row.appendChild(item) end for - ' Row already exists, replace it with new content - if sectionExists(sectionName) - m.top.content.replaceChild(row, getSectionIndex(sectionName)) - setRowItemSize() - return - end if - ' Row does not exist, insert it into the home view m.top.content.insertChild(row, getOriginalSectionIndex("smalllibrarytiles")) setRowItemSize()