diff options
author | Mark Otto <markdotto@gmail.com> | 2016-11-29 00:36:46 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2016-11-29 00:36:46 +0300 |
commit | d6c1fa37bd6dd9bb99fc3c18750c76a3d8c0a3b3 (patch) | |
tree | 1e877520badb4382604ccffccc9ffb9eed4cde0d /js/dist/scrollspy.js | |
parent | 959c4e527c6ef69623928db638267ba1c370479d (diff) |
grunt
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r-- | js/dist/scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js index 2b48456653..e033b12ed2 100644 --- a/js/dist/scrollspy.js +++ b/js/dist/scrollspy.js @@ -204,7 +204,7 @@ var ScrollSpy = function ($) { return; } - if (this._activeTarget && scrollTop < this._offsets[0]) { + if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { this._activeTarget = null; this._clear(); return; |