Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-14 09:16:30 +0300
committerGitHub <noreply@github.com>2020-11-14 09:16:30 +0300
commit4f8b243ac1a7ccd13c6bb485463ae365010d2620 (patch)
treedbd2d0055376e8e77ab86b125a5a000bb84c79bc /js/tests/unit/tab.spec.js
parentf39666b61cebbe4d23813deeb9a0b72feb31d155 (diff)
Fix `.close` instances (#32152)
Diffstat (limited to 'js/tests/unit/tab.spec.js')
-rw-r--r--js/tests/unit/tab.spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/tab.spec.js b/js/tests/unit/tab.spec.js
index f74d389df2..324c4a09ba 100644
--- a/js/tests/unit/tab.spec.js
+++ b/js/tests/unit/tab.spec.js
@@ -283,17 +283,17 @@ describe('Tab', () => {
'<ul class="nav nav-tabs" role="tablist">',
' <li class="nav-item" role="presentation">',
' <a class="nav-link nav-tab" href="#profile" role="tab" data-bs-toggle="tab">',
- ' <button class="close"><span aria-hidden="true">&times;</span></button>',
+ ' <button class="btn-close" aria-label="Close"></button>',
' </a>',
' </li>',
' <li class="nav-item" role="presentation">',
' <a id="secondNav" class="nav-link nav-tab" href="#buzz" role="tab" data-bs-toggle="tab">',
- ' <button class="close"><span aria-hidden="true">&times;</span></button>',
+ ' <button class="btn-close" aria-label="Close"></button>',
' </a>',
' </li>',
' <li class="nav-item" role="presentation">',
' <a class="nav-link nav-tab" href="#references" role="tab" data-bs-toggle="tab">',
- ' <button id="btnClose" class="close"><span aria-hidden="true">&times;</span></button>',
+ ' <button id="btnClose" class="btn-close" aria-label="Close"></button>',
' </a>',
' </li>',
'</ul>',