Added comment

This commit is contained in:
2026-02-16 18:41:12 -07:00
parent 80a126fb30
commit 1253693ebe

View File

@@ -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) {