mirror of https://github.com/twbs/bootstrap.git
parent
859ddc11fb
commit
d15444d15e
|
@ -65,6 +65,7 @@
|
||||||
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…
Reference in New Issue