mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibility
Fixes #19028 [skip sauce] [skip validator]
This commit is contained in:
parent
f0ebb4c150
commit
f2d77b674c
@ -249,7 +249,7 @@ const ScrollSpy = (($) => {
|
|||||||
$link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)
|
$link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)
|
||||||
$link.addClass(ClassName.ACTIVE)
|
$link.addClass(ClassName.ACTIVE)
|
||||||
} else {
|
} else {
|
||||||
// todo (fat) this is kinda sus…
|
// todo (fat) this is kinda sus...
|
||||||
// recursively add actives to tested nav-links
|
// recursively add actives to tested nav-links
|
||||||
$link.parents(Selector.LI).find(Selector.NAV_LINKS).addClass(ClassName.ACTIVE)
|
$link.parents(Selector.LI).find(Selector.NAV_LINKS).addClass(ClassName.ACTIVE)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user