diff options
author | Gleb Mazovetskiy <glebm@google.com> | 2015-03-16 18:38:27 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glebm@google.com> | 2015-03-16 18:38:27 +0300 |
commit | aad446e98f3a26b1d98e2df6398790433afd8e55 (patch) | |
tree | 571f1d6e43f91256cf2c5e1d84b9788c63348efc /assets/javascripts/bootstrap | |
parent | e6f8936f4d8b6b9550c50dab46ab95a75c78356e (diff) |
rake convert
Diffstat (limited to 'assets/javascripts/bootstrap')
-rw-r--r-- | assets/javascripts/bootstrap/scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/bootstrap/scrollspy.js b/assets/javascripts/bootstrap/scrollspy.js index 9b29edf4..f2d9b5ab 100644 --- a/assets/javascripts/bootstrap/scrollspy.js +++ b/assets/javascripts/bootstrap/scrollspy.js @@ -96,7 +96,7 @@ for (i = offsets.length; i--;) { activeTarget != targets[i] && scrollTop >= offsets[i] - && (offsets[i + 1] === undefined || scrollTop <= offsets[i + 1]) + && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1]) && this.activate(targets[i]) } } |