Fixed typo in UI context dropdown initial selection.

This commit is contained in:
hackademix 2022-02-20 16:59:40 +01:00
parent 3a8884dd41
commit 5b3e7924f6
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ var UI = (() => {
} else {
if (ctxSites) {
for (let [site, ctxPerms] of ctxSites.entries()) {
ctxSelect.appendChild(entry(site, toLabel(site))).selected === perms === ctxPerms;
ctxSelect.appendChild(entry(site, toLabel(site))).selected = perms === ctxPerms;
}
}
}