Merge pull request #4038 from vintnes/modeindicator-restore

Allow mode change to restore mode indicator.
This commit is contained in:
Oliver Blanthorn 2021-12-31 17:57:15 +00:00 committed by GitHub
commit 88c328b5a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,7 +352,9 @@ config.getAsync("modeindicator").then(mode => {
config.get("modeindicator") !== "true" ||
config.get("modeindicatormodes", mode) === "false"
) {
statusIndicator.remove()
statusIndicator.classList.add("TridactylInvisible")
} else {
statusIndicator.classList.remove("TridactylInvisble")
}
})
})