fix modal

This commit is contained in:
Yuri Kuznetsov
2021-06-22 13:34:11 +03:00
parent cf6eadcc8c
commit 14205b4145
+3 -2
View File
@@ -187,8 +187,8 @@ define('ui', [], function () {
this.$el.on('shown.bs.modal', (e, r) => {
$('.modal-backdrop').not('.stacked').addClass('stacked');
let headerHeight = this.$el.find('.modal-header').outerHeight();
let footerHeight = this.$el.find('.modal-footer').outerHeight();
let headerHeight = this.$el.find('.modal-header').outerHeight() || 0;
let footerHeight = this.$el.find('.modal-footer').outerHeight() || 0;
let diffHeight = headerHeight + footerHeight;
@@ -210,6 +210,7 @@ define('ui', [], function () {
return;
}
let cssParams = {
overflow: 'auto',
};