diff options
author | Théophile Helleboid - chtitux <chtitux@gmail.com> | 2021-01-08 21:53:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 21:53:04 +0300 |
commit | 80557b3ac02bb21823a483013d9a0af5203bb7c2 (patch) | |
tree | a5b797e390c52c7ec6fc8c6fb935b8b3eb949b80 /js/tests/unit/scrollspy.spec.js | |
parent | 70175db4294641c91e825b5e2555e7d7d398e320 (diff) |
Move "active" class from `.nav-item` to `.nav-link` (#32730)
Diffstat (limited to 'js/tests/unit/scrollspy.spec.js')
-rw-r--r-- | js/tests/unit/scrollspy.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/scrollspy.spec.js b/js/tests/unit/scrollspy.spec.js index 45de56fbe5..eab9183aa6 100644 --- a/js/tests/unit/scrollspy.spec.js +++ b/js/tests/unit/scrollspy.spec.js @@ -68,7 +68,7 @@ describe('ScrollSpy', () => { fixtureEl.innerHTML = [ '<nav id="navigation" class="navbar">', ' <ul class="navbar-nav">', - ' <li class="nav-item active"><a class="nav-link" id="one-link" href="#">One</a></li>', + ' <li class="nav-item"><a class="nav-link active" id="one-link" href="#">One</a></li>', ' <li class="nav-item"><a class="nav-link" id="two-link" href="#two">Two</a></li>', ' <li class="nav-item"><a class="nav-link" id="three-link" href="#three">Three</a></li>', ' </ul>', @@ -177,7 +177,7 @@ describe('ScrollSpy', () => { '<div id="header" style="height: 500px;"></div>', '<nav id="navigation" class="navbar">', ' <ul class="navbar-nav">', - ' <li class="nav-item active"><a class="nav-link" id="one-link" href="#one">One</a></li>', + ' <li class="nav-item"><a class="nav-link active" id="one-link" href="#one">One</a></li>', ' <li class="nav-item"><a class="nav-link" id="two-link" href="#two">Two</a></li>', ' <li class="nav-item"><a class="nav-link" id="three-link" href="#three">Three</a></li>', ' </ul>', |