From 6604cd62132e54aac5b8ce6efb274389551fc3c4 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 16 Jun 2014 14:14:57 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 572c9dbfb4..5fd0a65ca4 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -488,7 +488,8 @@ Roo.apply(Roo.ux.Lightbox.prototype, var widthNew = imgWidth + bs; var heightNew = imgHeight + bs; - + Roo.log(widthNew); + Roo.log(heightNew); if (widthNew > ww || heightNew > wh) { // bigger than window. // scale here... - bit nasty.. -- 2.39.2