summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-04-10 14:15:39 +0200
committermetamuffin <metamuffin@disroot.org>2023-04-10 14:15:39 +0200
commit239b0c95c2dfa0bebafb228cf1d2f201ecadf2f8 (patch)
tree5dd6bbcad4b105a411d5c80660e785be168b3dbf /client-web/source/keybinds.ts
parent4b026c618ed6b40a22c0bf601b45e1da96d5bc5e (diff)
parentabff04fe71d29be41875db1173a554fb11c67173 (diff)
downloadkeks-meet-239b0c95c2dfa0bebafb228cf1d2f201ecadf2f8.tar
keks-meet-239b0c95c2dfa0bebafb228cf1d2f201ecadf2f8.tar.bz2
keks-meet-239b0c95c2dfa0bebafb228cf1d2f201ecadf2f8.tar.zst
Merge branch 'master' of codeberg.org:metamuffin/keks-meet
Diffstat (limited to 'client-web/source/keybinds.ts')
-rw-r--r--client-web/source/keybinds.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/client-web/source/keybinds.ts b/client-web/source/keybinds.ts
index 28bd263..fb17259 100644
--- a/client-web/source/keybinds.ts
+++ b/client-web/source/keybinds.ts
@@ -10,7 +10,6 @@ import { Room } from "./room.ts"
import { update_serviceworker } from "./sw/client.ts";
export function setup_keybinds(room: Room) {
- // let command_mode = false
document.body.addEventListener("keydown", ev => {
// TODO is there a proper solution?
if (ev.target instanceof HTMLInputElement && !(ev.target.type == "button")) return
@@ -27,6 +26,5 @@ export function setup_keybinds(room: Room) {
if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.destroy())
if (ev.code == "KeyU") if (window.confirm("really update?")) update_serviceworker()
}
- // command_mode = false
})
}