--- a/src/ztfy/myams/resources/js/ext/bootstrap-modal.js Thu Sep 01 15:18:16 2016 +0200
+++ b/src/ztfy/myams/resources/js/ext/bootstrap-modal.js Thu Sep 29 12:12:03 2016 +0200
@@ -136,8 +136,10 @@
if (value) {
var body = this.$element.find(this.options.overflow);
- body.style('overflow', 'auto', 'important')
- .style(prop, (typeof(value) == 'function' ? value() : value) + 'px', 'important');
+ if (body.css('overflow') === undefined) {
+ body.style('overflow', 'auto', 'important');
+ }
+ body.style(prop, (typeof(value) == 'function' ? value() : value) + 'px', 'important');
}
var modalOverflow = $(window).height() - 10 < this.$element.height();