From 8580e08a37b32fb311d4a12f1ea622083245ac4a Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:31:34 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index f9020a0dff..ff85a6698a 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -267,6 +267,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var w = this.width || Roo.lib.Dom.getViewportWidth(true) - 30; var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60; this.setSize(w,h); + return; } if(!this.fitwindow && this.max_width !== 0){ -- 2.39.2