From 051571bee464a5b4961a27782713aff503a5e338 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 26 Sep 2018 11:15:03 +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 33d5607a2f..62f048b2dd 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); - Roo.log(this.headerEl.getHeight() + this.bodyEl.getHeight() + this.footerEl.getHeight()); + Roo.log(this.bodyEl.getHeight()); var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60; this.setSize(w,h); } -- 2.39.2