mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Merge branch 'fix_5388'
This commit is contained in:
commit
a578e0641f
|
|
@ -3872,6 +3872,7 @@ export function version() {
|
|||
//#content
|
||||
export function mode(mode: ModeName) {
|
||||
// TODO: event emition on mode change.
|
||||
if (mode === undefined) throw new Error("Mode must be provided!")
|
||||
if (mode === "hint") {
|
||||
hint()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue