Commit 14037489 authored by Heinrich Fenkart's avatar Heinrich Fenkart

Merge pull request #14873 from twbs/revert-14569-scrollspy-ignore-invisible-targets

Revert "Scrollspy: ignore invisible list items"
parents db550a92 c1f669e8
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
return ($href return ($href
&& $href.length && $href.length
&& $href.is(':visible') && $href.is(':visible')
&& $el.is(':visible')
&& [[$href[offsetMethod]().top + offsetBase, href]]) || null && [[$href[offsetMethod]().top + offsetBase, href]]) || null
}) })
.sort(function (a, b) { return a[0] - b[0] }) .sort(function (a, b) { return a[0] - b[0] })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment