mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 16:44:17 +02:00
grunt
This commit is contained in:
2
js/dist/scrollspy.js
vendored
2
js/dist/scrollspy.js
vendored
@@ -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;
|
||||
|
2
js/dist/scrollspy.js.map
vendored
2
js/dist/scrollspy.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user