From 86927644b8cb18b14294555d4c9620f08f3ce404 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 13 Mar 2014 18:20:56 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 11ad73d386..8f9744e87e 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -441,12 +441,12 @@ Roo.apply(Roo.ux.Lightbox.prototype, var imgPreloader = Roo.DomHelper.append(document.body, { tag: 'img' } , true); // once image is preloaded, resize image container - + Roo.log(imgPreloader); imgPreloader.on('load', function() { this.lightboximage.dom.src = this.imageArray[this.activeImage].href || this.imageArray[this.activeImage].dom.href || this.imageArray[this.activeImage].dom.src; - + Roo.log(this.lightboximage.dom.src); this.resizeImageContainer(imgPreloader.getWidth(), imgPreloader.getHeight()); imgPreloader.remove(); }, this); -- 2.39.2