aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-28 13:36:46 -0800
committerMark Otto <[email protected]>2016-11-28 13:36:46 -0800
commitd6c1fa37bd6dd9bb99fc3c18750c76a3d8c0a3b3 (patch)
tree1e877520badb4382604ccffccc9ffb9eed4cde0d /docs/dist/js/bootstrap.js
parent959c4e527c6ef69623928db638267ba1c370479d (diff)
downloadbootstrap-d6c1fa37bd6dd9bb99fc3c18750c76a3d8c0a3b3.tar.xz
bootstrap-d6c1fa37bd6dd9bb99fc3c18750c76a3d8c0a3b3.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index d871f4083..d74a4b159 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -2324,7 +2324,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;