Ensure that you can scroll when modal exceeds browser height

issue7517
review49471002
This commit is contained in:
Xavier Codinas committed 2018-06-21 13:12:29 +02:00
1 parent 1d8798da2a
commit 4705213d83
1 file changed
+3
+3
View File
@@ -1054,6 +1054,9 @@ var Sao = {};
})
.on('hidden.bs.modal', '.modal', function(event) {
setModalsAndBackdropsOrder();
if (jQuery('.modal:visible').length) {
$(document.body).addClass('modal-open');
}
});
function setModalsAndBackdropsOrder() {