2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+1 -1
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)
}