Roo/bootstrap/Modal.js
authorjohn <john@roojs.com>
Wed, 26 Sep 2018 03:42:44 +0000 (11:42 +0800)
committerjohn <john@roojs.com>
Wed, 26 Sep 2018 03:42:44 +0000 (11:42 +0800)
Roo/bootstrap/Modal.js

index 7ef507e..9945bb1 100644 (file)
@@ -272,10 +272,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             
             var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30);
             
-            Roo.log(this.height);
-            
             if(this.height) {
-                this.setSize(w, this.height || Roo.lib.Dom.getViewportHeight(true) - 60);
+                this.setSize(w, this.height);
                 return;
             }