1
0
Fork 0
forked from Mirrors/gomuks

web/keybindings: allow using page up/down and home/end in timeline

This commit is contained in:
Tulir Asokan 2024-11-07 17:22:44 +01:00
parent bb52f1cfa9
commit c5452a570e

View file

@ -92,6 +92,8 @@ export default class Keybindings {
&& this.keyUpMap[keyToString(evt)] === undefined
&& (!evt.ctrlKey || evt.key === "v" || evt.key === "a")
&& !evt.altKey
&& key !== "PageUp" && key !== "PageDown"
&& key !== "Home" && key !== "End"
) {
document.getElementById("message-composer")?.focus()
}