From 3770258b767583e72cb77581d4a99c11d8be55e6 Mon Sep 17 00:00:00 2001 From: Aleksey Razbakov Date: Fri, 20 Jan 2017 15:57:31 +0100 Subject: [PATCH] updated readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fac59df..26e62b0 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Your css should contain the following lines: (you can specify the classNames in ```js $('.sticky').sticky({ type: "scroll-top", // trigger sticky `always` or only on `scroll-top` - stickyOnHover: true // triggers hoverClass on hover of the $element + stickyOnHover: true, // triggers hoverClass on hover of the $element // $element remains sticky if stickyOnHover true minimalViewportWidth: 0, // at what device width trigger sticky timeout: 100, // pause before trigger sticky (iPhone bugfix) @@ -90,7 +90,6 @@ Your css should contain the following lines: (you can specify the classNames in isStickyClass: 'is-sticky', stickyWrapperClass: 'sticky-wrapper', scrollTopClass: 'scroll-top', - hoverClass: 'sticky-hover', - + hoverClass: 'sticky-hover' }); ``` \ No newline at end of file