Merge branch 'hotfix/7.0.9'

This commit is contained in:
Yuri Kuznetsov
2022-01-11 12:25:05 +02:00
+3 -1
View File
@@ -388,7 +388,9 @@ define('ui', [], function () {
this.$el.on('click.dismiss.bs.modal', (e) => {
if (e.target === e.currentTarget) {
return this.backdrop === 'static' ? this.$el[0].focus() : this.close();
if (this.backdrop !== 'static') {
this.close();
}
}
});