aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-10-26 01:50:38 +0200
committerHeinrich Fenkart <[email protected]>2014-10-26 01:50:38 +0200
commitc1f669e83b9f867d38ba251bb1f944cec874fa4b (patch)
tree6019115a61c7e3de2c82256de4a6f9225f692c44
parentdb550a9235745474ebaa839c43dbbe0f46fa7134 (diff)
downloadbootstrap-c1f669e83b9f867d38ba251bb1f944cec874fa4b.tar.xz
bootstrap-c1f669e83b9f867d38ba251bb1f944cec874fa4b.zip
Revert "Scrollspy: ignore invisible list items"
-rw-r--r--js/scrollspy.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/scrollspy.js b/js/scrollspy.js
index 841df1878..db2378787 100644
--- a/js/scrollspy.js
+++ b/js/scrollspy.js
@@ -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] })