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-12-25 01:29:41 +0300
committerMark Otto <markdotto@gmail.com>2016-12-25 01:29:41 +0300
commitcd18ee8af693755798eb9d20dfc82a350996c04b (patch)
treec2ff8517fc41688230f15aa978e3f903289c27d3 /js/dist/scrollspy.js
parent43ef8b129e6a2d74408b22d55c213d781f9e929a (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 e033b12ed2..803b347e2c 100644
--- a/js/dist/scrollspy.js
+++ b/js/dist/scrollspy.js
@@ -237,7 +237,7 @@ var ScrollSpy = function ($) {
} else {
// todo (fat) this is kinda sus...
// recursively add actives to tested nav-links
- $link.parents(Selector.LI).find(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
+ $link.parents(Selector.LI).find('> ' + Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
$(this._scrollElement).trigger(Event.ACTIVATE, {