0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix typo in comment (#35564)

s/moddal/modal
This commit is contained in:
Phil E. Taylor 2021-12-18 05:58:31 +00:00 committed by GitHub
parent f729e4c7d1
commit c2db7108c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,7 +369,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (
})
})
// avoid conflict when clicking moddal toggler while another one is open
// avoid conflict when clicking modal toggler while another one is open
const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)
if (allReadyOpen) {
Modal.getInstance(allReadyOpen).hide()