Fix regression: CUSTOM UI broken on Gecko 77 and below.
This commit is contained in:
parent
e82d98bfaf
commit
367210c153
|
@ -621,10 +621,11 @@ var UI = (() => {
|
||||||
let entry = (value, label = value) => {
|
let entry = (value, label = value) => {
|
||||||
let opt = document.createElement("option");
|
let opt = document.createElement("option");
|
||||||
opt.value = value;
|
opt.value = value;
|
||||||
opt.label = label;
|
opt.textContent = label;
|
||||||
return opt;
|
return opt;
|
||||||
}
|
}
|
||||||
ctxSelect.replaceChildren(entry("*", _("anySite")));
|
for (let child; child = ctxSelect.firstChild;) child.remove();
|
||||||
|
ctxSelect.appendChild(entry("*", _("anySite")));
|
||||||
let ctxSites = row.perms.contextual;
|
let ctxSites = row.perms.contextual;
|
||||||
if (this.mainDomain) {
|
if (this.mainDomain) {
|
||||||
let key = Sites.optimalKey(this.mainUrl);
|
let key = Sites.optimalKey(this.mainUrl);
|
||||||
|
|
Loading…
Reference in New Issue