From d8daea9f2ca2216b8206f9e4ba6a8e5e9b928bd0 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 11:46:25 +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 7d40f7bedd..0708b5692a 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -274,7 +274,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { // for fix height if(this.height) { - this.setSize(w, this.height); + this.setSize(w, this.height || Roo.lib.Dom.getViewportWidth(true) - 30); return; } -- 2.39.2