mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Reset inside a Dialog does not work if data-dismiss="modal" is set (#33928)
This commit is contained in:
+1
-1
@@ -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