From 018a3bbd4c8a608a4744d7bcb8b95e4ca5799aa3 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 13 Mar 2014 18:37:20 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 8eefd23ace..d2bcbc73ff 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -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.. -- 2.39.2