1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 20:55:50 +02: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

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) const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)
if (allReadyOpen) { if (allReadyOpen) {
Modal.getInstance(allReadyOpen).hide() Modal.getInstance(allReadyOpen).hide()