mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
parent
f729e4c7d1
commit
c2db7108c2
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user