Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-11-29 00:36:46 +0300
committerMark Otto <markdotto@gmail.com>2016-11-29 00:36:46 +0300
commitd6c1fa37bd6dd9bb99fc3c18750c76a3d8c0a3b3 (patch)
tree1e877520badb4382604ccffccc9ffb9eed4cde0d /js/dist/scrollspy.js
parent959c4e527c6ef69623928db638267ba1c370479d (diff)
grunt
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r--js/dist/scrollspy.js2
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;