Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
inuyaksa authored Jul 13, 2017
1 parent 94faa01 commit 91a3850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ Initialize nicescroll ALWAYS in (document) ready statement.
```javascript
// 1. Simple mode, it styles document scrollbar:
$(function() {
$("html").niceScroll();
$("body").niceScroll();
});

// 2. Instance with object returned:
var nice = false;
$(function() {
nice = $("html").niceScroll();
nice = $("body").niceScroll();
});

// 3. Style a DIV and chage cursor color:
Expand Down

0 comments on commit 91a3850

Please sign in to comment.