Merge pull request #2309 from vsemozhetbyt/patch-11
Fix typo in 2.99.2 (Selection and Range)
This commit is contained in:
commit
36c07028a3
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ Focus on me, the cursor will be at position 10.
|
||||||
// zero delay setTimeout to run after browser "focus" action finishes
|
// zero delay setTimeout to run after browser "focus" action finishes
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// we can set any selection
|
// 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;
|
area.selectionStart = area.selectionEnd = 10;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue