Skip to content

Commit

Permalink
Update .focus() member example
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxy committed Mar 21, 2024
1 parent 397abf4 commit cf266b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ const settings = {

const textarea = document.getElementById('comments');

const {content} = new TextMarked(textarea, settings);
content.focus();
textMarked(textarea, settings).focus();
```

## Supported elements
Expand Down

0 comments on commit cf266b4

Please sign in to comment.