From 0cae40447d6043ab67f25219832e50ff281194cc Mon Sep 17 00:00:00 2001 From: Filippo <45kb@users.noreply.github.com> Date: Thu, 9 Jul 2015 12:47:19 +0200 Subject: [PATCH] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86970d3..70f0d16 100644 --- a/README.md +++ b/README.md @@ -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 });