Skip to content

Commit 29a3c58

Browse files
committed
fixes
1 parent f8570ae commit 29a3c58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2-ui/3-event-details/5-keyboard-events/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ So, to reliably track layout-dependent characters, `event.key` may be a better w
110110

111111
## Auto-repeat
112112

113-
If a key is being pressed for a long enough time, it starts to repeat: the `keydown` triggers again and again, and then when it's released we finally get `keyup`. So it's kind of normal to have many `keydown` and a single `keyup`.
113+
If a key is being pressed for a long enough time, it starts to "auto-repeat": the `keydown` triggers again and again, and then when it's released we finally get `keyup`. So it's kind of normal to have many `keydown` and a single `keyup`.
114114

115-
For all repeating keys the event object has `event.repeat` property set to `true`.
115+
For events triggered by auto-repeat, the event object has `event.repeat` property set to `true`.
116116

117117

118118
## Default actions

0 commit comments

Comments
 (0)