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