Skip to content

Commit

Permalink
fix: prevented ctrl home and end in review mode (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellvix authored Dec 27, 2024
1 parent 7a4875a commit 631c469
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,10 @@ class Control {
* @returns {void}
*/
async SetKeyControls() {
// home / end: first / last element
// not available in review mode
constants.events.push([
document,
[constants.chart, constants.brailleInput],
'keydown',
function (e) {
// ctrl/cmd: stop autoplay
Expand Down

0 comments on commit 631c469

Please sign in to comment.