diff options
author | Mark Otto <markdotto@gmail.com> | 2016-12-25 01:29:41 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2016-12-25 01:29:41 +0300 |
commit | cd18ee8af693755798eb9d20dfc82a350996c04b (patch) | |
tree | c2ff8517fc41688230f15aa978e3f903289c27d3 /js/dist/scrollspy.js | |
parent | 43ef8b129e6a2d74408b22d55c213d781f9e929a (diff) |
grunt
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r-- | js/dist/scrollspy.js | 2 |
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, { |