From 71136d64a7e0936dc4df41331db10b5464482c3c Mon Sep 17 00:00:00 2001 From: David Perez Alvarez Date: Tue, 15 Jan 2019 12:09:07 -0500 Subject: [PATCH] fix(readme): incorrect external onScroll example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3005fd1..71d0b29 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,9 @@ import scrollManager from "scroll-utility" scrollManager.onScroll = (external) => { if (external) { - console.log("this 'scroll-utility' scrolled") - } else { console.log("external scroll") // ussualy the user via the mouse or keyboard, or some other script running in the browser + } else { + console.log("this 'scroll-utility' scrolled") } ```