mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Merge pull request #4038 from vintnes/modeindicator-restore
Allow mode change to restore mode indicator.
This commit is contained in:
commit
88c328b5a9
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue