]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Revert "Scrollspy: ignore invisible list items" 14873/head
authorHeinrich Fenkart <hnrch02@gmail.com>
Sat, 25 Oct 2014 23:50:38 +0000 (01:50 +0200)
committerHeinrich Fenkart <hnrch02@gmail.com>
Sat, 25 Oct 2014 23:50:38 +0000 (01:50 +0200)
js/scrollspy.js

index 841df18784c2d5fadf92af1c6e492143b53ff33a..db2378787e3d578c3b812ba73af42556e99bb0a5 100644 (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] })