mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02:00
Reset inside a Dialog does not work if data-dismiss="modal"
is set (#33928)
This commit is contained in:
@@ -145,7 +145,7 @@ class Modal extends BaseComponent {
|
||||
}
|
||||
|
||||
hide(event) {
|
||||
if (event) {
|
||||
if (event && ['A', 'AREA'].includes(event.target.tagName)) {
|
||||
event.preventDefault()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user