Explorar el Código

Update README.md

Inuyaksa hace 7 años
padre
commit
91a38506ef
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -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: