diff --git a/web/js/WebPPTListener.ts b/web/js/WebPPTListener.ts index cb5d412e..ca2a5862 100644 --- a/web/js/WebPPTListener.ts +++ b/web/js/WebPPTListener.ts @@ -81,7 +81,7 @@ namespace ppt { current_state.special[SpecialKey.SHIFT] = false; current_state.special[SpecialKey.WINDOWS] = false; - for(const code of Object.keys(current_state.keys)) + for(const code of Object.keys(current_state)) delete current_state[code]; for(const hook of key_hooks_active)