diff --git a/app/assets/javascripts/app/lib/bootstrap/modal.js b/app/assets/javascripts/app/lib/bootstrap/modal.js index 6a6468667..241744883 100644 --- a/app/assets/javascripts/app/lib/bootstrap/modal.js +++ b/app/assets/javascripts/app/lib/bootstrap/modal.js @@ -239,6 +239,10 @@ .css('width', this.$body.width()) .css('height', 0) .css('height', this.$element[0].scrollHeight) + + if(this.scrollbarWidth){ + this.$backdrop.css('width', this.$body.width() - this.scrollbarWidth) + } } Modal.prototype.adjustDialog = function () {