summaryrefslogtreecommitdiffstats
path: root/jquery-scrollspy.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery-scrollspy.js')
-rw-r--r--jquery-scrollspy.js2
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;