From 8c166872378c227064ba5c6789c5ac5c87187baa Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 13 Feb 2022 23:15:28 +0100 Subject: [PATCH] Initialize row customization with top context, if set. --- src/ui/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/ui.js b/src/ui/ui.js index 842d5af..9f3861e 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -770,8 +770,9 @@ var UI = (() => { if (!hasTemp) hasTemp = perms.temp; } } else { + let top = Sites.optimalKey(this.mainUrl); for (let site of sites) { - let context = null; + let context = top; if (site.site) { site = site.site; context = site.context;