aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-10-26 01:56:08 +0200
committerHeinrich Fenkart <[email protected]>2014-10-26 01:56:08 +0200
commit1403748907d1924eceb738a9f2132aca41fce66e (patch)
tree6019115a61c7e3de2c82256de4a6f9225f692c44
parentdb550a9235745474ebaa839c43dbbe0f46fa7134 (diff)
parentc1f669e83b9f867d38ba251bb1f944cec874fa4b (diff)
downloadbootstrap-1403748907d1924eceb738a9f2132aca41fce66e.tar.xz
bootstrap-1403748907d1924eceb738a9f2132aca41fce66e.zip
Merge pull request #14873 from twbs/revert-14569-scrollspy-ignore-invisible-targets
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] })