From ec8c18bd386f351964a98b37c141bb75215fe6df Mon Sep 17 00:00:00 2001 From: john Date: Wed, 26 Sep 2018 11:38:24 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 99e50b6334..7beb1135f5 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -270,7 +270,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(!this.fitwindow && this.max_width !== 0){ var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); - var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; //without padding + var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; var body_childs = this.bodyEl.dom.childNodes; var body_height = 0; -- 2.39.2