Fix History setting field

This commit is contained in:
Oliver Blanthorn 2025-09-01 13:30:09 +02:00
parent 0885811abe
commit e1cce5f2b9
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -18,7 +18,8 @@ class HistoryCompletionOption
let preplain = page.bmark ? "B" : ""
preplain += page.search ? "S" : ""
let pre = preplain
if (config.get("completions", "Tab", "statusstylepretty") === "true") {
// Tab settings apply here to grandfather in people who set it before when there was a bug
if ((config.get("completions", "Tab", "statusstylepretty") === "true") || (config.get("completions", "History", "statusstylepretty") === "true")) {
pre = page.bmark ? "\u2B50" : ""
pre += page.search ? "\u{1F50D}" : ""
}