Skip to content

Commit 631c469

Browse files
authored
fix: prevented ctrl home and end in review mode (#625)
1 parent 7a4875a commit 631c469

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/js/controls.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,10 @@ class Control {
497497
* @returns {void}
498498
*/
499499
async SetKeyControls() {
500+
// home / end: first / last element
501+
// not available in review mode
500502
constants.events.push([
501-
document,
503+
[constants.chart, constants.brailleInput],
502504
'keydown',
503505
function (e) {
504506
// ctrl/cmd: stop autoplay

0 commit comments

Comments
 (0)