From 2fe72d36aad519fd4f8753c4e9d6b80c503e2a7d Mon Sep 17 00:00:00 2001 From: Patrick Brentlinger Date: Sun, 26 Aug 2012 01:58:24 -0400 Subject: [PATCH] top waypoints don't begin being active old scroll value so waypoints at the very top are active on page load --- waypoints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waypoints.js b/waypoints.js index 61734a36..2761cd23 100644 --- a/waypoints.js +++ b/waypoints.js @@ -105,7 +105,7 @@ Support: Context = function(context) { $.extend(this, { element: $(context), - oldScroll: 0, + oldScroll: -1, /* List of all elements that have been registered as waypoints.