diff options
-rw-r--r-- | jquery-scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery-scrollspy.js b/jquery-scrollspy.js index 71b4a36..0712176 100644 --- a/jquery-scrollspy.js +++ b/jquery-scrollspy.js @@ -55,7 +55,7 @@ } /* if we have reached the minimum bound but are below the max ... */ - if(xy >= o.min && xy <= max){ + if(xy >= min && xy <= max){ /* trigger enter event */ if(!inside){ inside = true; |