0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibility

Fixes #19028

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-01-26 11:57:43 -08:00
parent f0ebb4c150
commit f2d77b674c

View File

@ -249,7 +249,7 @@ const ScrollSpy = (($) => {
$link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)
$link.addClass(ClassName.ACTIVE)
} else {
// todo (fat) this is kinda sus
// todo (fat) this is kinda sus...
// recursively add actives to tested nav-links
$link.parents(Selector.LI).find(Selector.NAV_LINKS).addClass(ClassName.ACTIVE)
}