From: john Date: Fri, 28 Sep 2018 04:34:53 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=82158a86516ebdcbc3d02ba3817c82cdc0caee7f Roo/bootstrap/Modal.js --- 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);