Skip to content

Commit 3743daf

Browse files
committed
[UX] Fix AUTO-TRUSTED preset titles.
1 parent 53ba7bb commit 3743daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/ui.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,9 @@ var UI = (() => {
10411041
}
10421042
row._wasAuto = true;
10431043
const [labelShort, title] = isAuto
1044-
? [_("AutoTrustedLabel"), _("autoAllowTop")]
1044+
? [_("AutoTrustedLabel"), _("AutoAllowTopLevel")]
10451045
: [_("Custom"), _("Custom") ];
1046-
const widgets = row.querySelectorAll(".preset.CUSTOM [title]");
1046+
const widgets = row.querySelectorAll(".preset.CUSTOM [title]:not(.temp)");
10471047
for (const w of [...widgets]) {
10481048
w.title = title;
10491049
if (w.textContent) w.textContent = labelShort;

0 commit comments

Comments
 (0)