From 1253693ebe8d6e0526424eafe9e1bbc5ff049bd9 Mon Sep 17 00:00:00 2001 From: Thomas Gander Date: Mon, 16 Feb 2026 18:41:12 -0700 Subject: [PATCH] Added comment --- Jellyfin.Plugin.MediaCleaner/Pages/home.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Jellyfin.Plugin.MediaCleaner/Pages/home.js b/Jellyfin.Plugin.MediaCleaner/Pages/home.js index c32919f..f95420a 100644 --- a/Jellyfin.Plugin.MediaCleaner/Pages/home.js +++ b/Jellyfin.Plugin.MediaCleaner/Pages/home.js @@ -87,6 +87,7 @@ const createCheckbox = (mediaInfo = {}, state = []) => { label.appendChild(span); container.appendChild(label); + // Remove dependency on local state. Move to scanning for all checked checkboxes and create the array at that point. checkbox.addEventListener('change', (e) => { const mediaInfo = checkbox.dataset.mediaInfo || '(no info)'; if (checkbox.checked) {