2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00
This commit is contained in:
Mark Otto
2016-11-28 13:36:46 -08:00
parent 959c4e527c
commit d6c1fa37bd
29 changed files with 175 additions and 183 deletions
+1 -1
View File
@@ -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;