0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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

Revert "Scrollspy: ignore invisible list items"
This commit is contained in:
Heinrich Fenkart 2014-10-26 01:56:08 +02:00
commit 1403748907

View File

@ -65,7 +65,6 @@
return ($href
&& $href.length
&& $href.is(':visible')
&& $el.is(':visible')
&& [[$href[offsetMethod]().top + offsetBase, href]]) || null
})
.sort(function (a, b) { return a[0] - b[0] })