]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
ScrollSpy: Make Proper use of the SelectorEngine
authorGeoSot <geo.sotis@gmail.com>
Tue, 8 Jun 2021 07:38:27 +0000 (10:38 +0300)
committerMark Otto <otto@github.com>
Wed, 23 Jun 2021 02:50:21 +0000 (19:50 -0700)
commitf94f497ad5c3108b7f95242af586592cf274b9bd
treeb7e3c1be6c4f961c7b033e5d47b5f66f37168bfc
parenta816615efa9d4fbd311c58d79b096c5672a406a1
ScrollSpy: Make Proper use of the SelectorEngine
* avoid extra work, creating ids
* simplify selectors and constrain search inside `config.target`
js/src/scrollspy.js
js/tests/unit/scrollspy.spec.js