]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
fix(scrollspy): Spying on nested navs fails to activate for .nav-link's inside nav...
authorTroy Morehouse <troymore@nbnet.nb.ca>
Sun, 17 Sep 2017 07:30:37 +0000 (04:30 -0300)
committerJohann-S <johann.servoire@gmail.com>
Sun, 17 Sep 2017 07:30:37 +0000 (09:30 +0200)
commit6c70c70f637267ca109f44ff63f564892ece42bf
tree796ce351f08f25ce111022bbab65136a820d7770
parente296c1374104ef949ca8f6307f13b09dd4c4b09c
fix(scrollspy): Spying on nested navs fails to activate for .nav-link's inside nav-item's (#23967)

* fix(scrollspy): Handle nested navs when nav-link inside nav-item

* [scrolspy] Find only child .nav-link's inside .nav-item

* [scrollspyt] Add tests for nested navs with nav-link inside nav-item

* fix troy-o's in test
js/src/scrollspy.js
js/tests/unit/scrollspy.js