ux/Lightbox.js
authorEdward <edward@roojs.com>
Thu, 13 Mar 2014 10:37:07 +0000 (18:37 +0800)
committerEdward <edward@roojs.com>
Thu, 13 Mar 2014 10:37:07 +0000 (18:37 +0800)
ux/Lightbox.js

index bb4687c..8eefd23 100644 (file)
@@ -481,7 +481,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         
         var widthNew  =  imgWidth  + bs;
         var heightNew =  imgHeight + bs;
-        
+        Roo.log(widthNew);
         if (widthNew > ww || heightNew > wh) {
             // bigger than window.
             // scale here... - bit nasty..
@@ -494,7 +494,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
                     
             
         }
-        Roo.log(imgWidth);
+        
         this.lightboximage.set( { width : imgWidth, height : imgHeight });