From 85be4a799150baaf15441fcf37f9dcbe8b64a00d Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 13 Mar 2014 18:35:03 +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 11ad73d386..475ce0b598 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -447,7 +447,7 @@ Roo.apply(Roo.ux.Lightbox.prototype, this.lightboximage.dom.src = this.imageArray[this.activeImage].href || this.imageArray[this.activeImage].dom.href || this.imageArray[this.activeImage].dom.src; - this.resizeImageContainer(imgPreloader.getWidth(), imgPreloader.getHeight()); + this.resizeImageContainer(this.imageArray[this.activeImage].dom.lWidth || imgPreloader.getWidth(), this.imageArray[this.activeImage].dom.lHeight || imgPreloader.getHeight()); imgPreloader.remove(); }, this); imgPreloader.dom.src = this.imageArray[this.activeImage].href || -- 2.39.2