mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 20:55:50 +02:00
@@ -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()
|
||||||
|
Reference in New Issue
Block a user