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

index c4e337a..59ea3de 100644 (file)
@@ -270,10 +270,6 @@ 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.height);
-            Roo.log(Roo.lib.Dom.getViewportHeight(true));
-            
             var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
             this.setSize(w,h);
         }