ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix hotkeys detection
Chocobozzz601bf7ad961f
diff --git a/client/src/app/core/hotkeys/hotkeys.service.ts b/client/src/app/core/hotkeys/hotkeys.service.tsindex 2fb192749f..ec36554e2c 100644--- a/client/src/app/core/hotkeys/hotkeys.service.ts+++ b/client/src/app/core/hotkeys/hotkeys.service.ts@@ -66,12 +66,14 @@ export class HotkeysService {return}- const result = hotkey.callback.apply(this, [ event, combo ])-- if (result === false) {- event.preventDefault()- event.stopPropagation()- }+ this.zone.run(() => {+ const result = hotkey.callback.apply(this, [ event, combo ])++ if (result === false) {+ event.preventDefault()+ event.stopPropagation()+ }+ })}})