remove debugging code
[roojs1] / ux / Lightbox.js
index 6effc3b..1091755 100644 (file)
@@ -482,8 +482,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         
         var widthNew  =  imgWidth  + bs;
         var heightNew =  imgHeight + bs;
-        Roo.log(heightNew);
-        Roo.log(wh);
+        
         if (widthNew > ww || heightNew > wh) {
             // bigger than window.
             // scale here... - bit nasty..