fix: update handling of hidden options in openMainImage function

This commit is contained in:
Ross
2025-09-02 21:21:34 +01:00
parent b6bccf8ce3
commit 971a82c6a1
+1 -1
View File
@@ -707,7 +707,7 @@ export function openMainImage(current_question, t, source) {
o.value = opt.value;
o.textContent = opt.text;
if (opt.disabled) o.disabled = true;
if (opt.hidden) o.style.display = 'none';
if (opt.hidden) o.hidden = true;
select.appendChild(o);
});
viewerTitleBar.appendChild(select);