Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
45kb committed Jul 9, 2015
2 parents 4855e95 + 0cae404 commit f61d920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var Highlighter = new window.Highlighter({
####Scroll to the underlined element
Sometime you could need to scroll to the current underlined element, so, to automatically scroll to it once is underlined you can set the options ```{scroll:true, scrollDuration: 500 }```
```javascript
var Highlighter = new Highlighter({
var Highlighter = new window.Highlighter({
'scroll':true, //Automatically scroll to the underlined element
'scrollDuration': 500 //milliseconds
});
Expand Down

0 comments on commit f61d920

Please sign in to comment.