diff options
author | Sam Alexander <sxalexander@gmail.com> | 2012-11-05 23:00:48 -0800 |
---|---|---|
committer | Sam Alexander <sxalexander@gmail.com> | 2012-11-05 23:00:48 -0800 |
commit | 2edc2d98e0256cb79cecce61e8c17f2a0a3b8952 (patch) | |
tree | 9839c18c6c60e930a58825ebdf69feb503595be9 | |
parent | 180f5793cd1f823052126b5180cb93579f930baa (diff) | |
parent | 596f3c5f31eed202fdcefba836383dce7c0be841 (diff) | |
download | jquery-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
-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; |