2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Unify offcanvas keydown event logic with modal (#38025)

This commit is contained in:
Roni Diwan
2023-02-11 10:35:10 +02:00
committed by GitHub
parent 9f5dca0777
commit 7432ebc665
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -208,7 +208,6 @@ class Modal extends BaseComponent {
}
if (this._config.keyboard) {
event.preventDefault()
this.hide()
return
}