summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorallnightlong <allnightlong@allnightlong.ru>2012-06-26 19:53:41 +0400
committerallnightlong <allnightlong@allnightlong.ru>2012-06-26 19:53:41 +0400
commit596f3c5f31eed202fdcefba836383dce7c0be841 (patch)
tree9839c18c6c60e930a58825ebdf69feb503595be9
parent180f5793cd1f823052126b5180cb93579f930baa (diff)
downloadjquery-scrollspy-596f3c5f31eed202fdcefba836383dce7c0be841.zip
jquery-scrollspy-596f3c5f31eed202fdcefba836383dce7c0be841.tar.gz
jquery-scrollspy-596f3c5f31eed202fdcefba836383dce7c0be841.tar.bz2
fix min
-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;