summaryrefslogtreecommitdiffstats
path: root/jquery-scrollspy.js
diff options
context:
space:
mode:
authorSam Alexander <sxalexander@gmail.com>2012-11-05 23:00:48 -0800
committerSam Alexander <sxalexander@gmail.com>2012-11-05 23:00:48 -0800
commit2edc2d98e0256cb79cecce61e8c17f2a0a3b8952 (patch)
tree9839c18c6c60e930a58825ebdf69feb503595be9 /jquery-scrollspy.js
parent180f5793cd1f823052126b5180cb93579f930baa (diff)
parent596f3c5f31eed202fdcefba836383dce7c0be841 (diff)
downloadjquery-scrollspy-2edc2d98e0256cb79cecce61e8c17f2a0a3b8952.zip
jquery-scrollspy-2edc2d98e0256cb79cecce61e8c17f2a0a3b8952.tar.gz
jquery-scrollspy-2edc2d98e0256cb79cecce61e8c17f2a0a3b8952.tar.bz2
Merge pull request #4 from allnightlong/patch-1
fix bug with min evaluation
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;