Merge pull request #2309 from vsemozhetbyt/patch-11

Fix typo in 2.99.2 (Selection and Range)
This commit is contained in:
Ilya Kantor 2020-11-25 14:19:13 +03:00 committed by GitHub
commit 36c07028a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
});
};