From 37245b8493561201927d28ce854c6aee09df0ca7 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 26 Sep 2018 11:42:44 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 7ef507e139..9945bb1105 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -272,10 +272,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); - Roo.log(this.height); - if(this.height) { - this.setSize(w, this.height || Roo.lib.Dom.getViewportHeight(true) - 60); + this.setSize(w, this.height); return; } -- 2.39.2