2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03: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
+1 -1
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)
})
/**