diff options
author | metamuffin <metamuffin@disroot.org> | 2023-04-10 14:15:39 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-04-10 14:15:39 +0200 |
commit | 239b0c95c2dfa0bebafb228cf1d2f201ecadf2f8 (patch) | |
tree | 5dd6bbcad4b105a411d5c80660e785be168b3dbf /client-web/source/keybinds.ts | |
parent | 4b026c618ed6b40a22c0bf601b45e1da96d5bc5e (diff) | |
parent | abff04fe71d29be41875db1173a554fb11c67173 (diff) | |
download | keks-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.ts | 2 |
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 }) } |