diff --git a/2-ui/99-ui-misc/02-selection-range/article.md b/2-ui/99-ui-misc/02-selection-range/article.md index 9b6deb0d33..c56f55cf66 100644 --- a/2-ui/99-ui-misc/02-selection-range/article.md +++ b/2-ui/99-ui-misc/02-selection-range/article.md @@ -494,7 +494,7 @@ Focus on me, the cursor will be at position 10. // zero delay setTimeout to run after browser "focus" action finishes setTimeout(() => { // we can set any selection - // if start=end, the cursor it exactly at that place + // if start=end, the cursor is exactly at that place area.selectionStart = area.selectionEnd = 10; }); };