mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-02 02:29:24 +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:
commit
1403748907
@ -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] })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user