1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-07 22:26:57 +02:00

Fix toggling modal when clicking on data-bs-toggle="modal" (#32691)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Rohit Sharma
2021-01-14 01:29:47 +05:30
committed by GitHub
parent d21fb9b627
commit e34481b6eb
2 changed files with 11 additions and 2 deletions

View File

@@ -590,7 +590,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (
data = new Modal(target, config)
}
data.show(this)
data.toggle(this)
})
/**