]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Scrollspy acting up when targets are hidden 11203/head
authorArnold Daniels <arnold@jasny.net>
Tue, 22 Oct 2013 11:31:23 +0000 (13:31 +0200)
committerArnold Daniels <arnold@jasny.net>
Tue, 22 Oct 2013 11:31:23 +0000 (13:31 +0200)
commit5a38a5775f8a3c58c09df0a0f3afc058c820c238
tree11dbe8c17f57365e06b22797352499652d57c32d
parent9673c25e2cf8701e4fe0d255d38f1a9f6b193e9f
Scrollspy acting up when targets are hidden

If elements are hidden using `display: none;` which are targets mapped by scrollspy, the plugin might select an incorrect or no menu item.

Checking if the target is visible solved this.
js/scrollspy.js