Commit 41abd1c7 authored by Patrick H. Lauke's avatar Patrick H. Lauke Committed by GitHub
Browse files

Merge branch 'v4-dev' into v4-dev-docs-navs-js-tabpanel-fix

parents 50d178ec 67021071
8 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!22598test,!22401Remove incorrect role="tabpanel" from navs docs,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!17021v4
Showing with 1 addition and 0 deletions
+1 -0
......@@ -289,6 +289,7 @@ const Modal = (($) => {
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, (event) => {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault()
this.hide()
}
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment