1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 15:44:51 +02:00

ref(tests): Minor fix to use self-closing input HTML tag (#36667)

This commit is contained in:
Julien Déramond
2022-07-04 13:12:10 +02:00
committed by GitHub
parent a13f432db4
commit c1813ef2bc
3 changed files with 5 additions and 5 deletions

View File

@@ -603,7 +603,7 @@ describe('Offcanvas', () => {
it('should not prevent event for input', () => {
return new Promise(resolve => {
fixtureEl.innerHTML = [
'<input type="checkbox" data-bs-toggle="offcanvas" data-bs-target="#offcanvasdiv1" />',
'<input type="checkbox" data-bs-toggle="offcanvas" data-bs-target="#offcanvasdiv1">',
'<div id="offcanvasdiv1" class="offcanvas"></div>'
].join('')