1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 16:44:17 +02: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

View File

@@ -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;

File diff suppressed because one or more lines are too long