gh-12942: Fixed unable to enable live folder options (gh-12946)

This commit is contained in:
Slowlife
2026-03-27 20:34:40 +07:00
committed by GitHub
parent b39b9abc6f
commit 4c1e52c063

View File

@@ -209,7 +209,7 @@ export class nsGithubLiveFolderProvider extends nsZenLiveFolderProvider {
super.onOptionTrigger(option);
const key = option.getAttribute("option-key");
const checked = option.getAttribute("checked") === "true";
const checked = option.hasAttribute("checked");
if (!this.options.some(x => x.key === key)) {
return;
}