remove debugging code
[roojs1] / ux / Lightbox.js
index 8eefd23..1091755 100644 (file)
@@ -476,12 +476,13 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         
         ww -= 150;
         wh -= 150;
+        
         // get new width and height
         var bs =  this.borderSize * 2;
         
         var widthNew  =  imgWidth  + bs;
         var heightNew =  imgHeight + bs;
-        Roo.log(widthNew);
+        
         if (widthNew > ww || heightNew > wh) {
             // bigger than window.
             // scale here... - bit nasty..