From 82158a86516ebdcbc3d02ba3817c82cdc0caee7f Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:34:53 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 57f44249b3..e39f8013d8 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -276,7 +276,10 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(this.max_width !== 0) { - var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); + var w = Math.min( + this.max_width, + Roo.lib.Dom.getViewportWidth(true) - 30 + ); if(this.height) { this.setSize(w, this.height); -- 2.39.2