Commit d15444d1 authored by Heinrich Fenkart's avatar Heinrich Fenkart
Browse files

Scrollspy: ignore invisible list items

Fixes #13071
parent 859ddc11
5 merge requests!28721Hot test,!14569Scrollspy: ignore invisible list items,!16605Test pull please ignore,!22103test,!25326Adjust examples
Showing with 1 addition and 0 deletions
+1 -0
......@@ -65,6 +65,7 @@
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] })
......
Supports Markdown
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