From: Alan Knowles Date: Wed, 29 Dec 2010 07:36:02 +0000 (+0800) Subject: ux/Lightbox.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=943276999c26fff96fd89ec227acafbf1a03acde;p=roojs1 ux/Lightbox.js --- diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 18426a699d..79a8f20b4e 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -429,7 +429,6 @@ Roo.apply(Roo.ux.Lightbox.prototype, var imgPreloader = Roo.DomHelper.append(document.body, { tag: 'img' } , true); // once image is preloaded, resize image container - imgPreloader.on('load', function() { this.lightboximage.dom.src = this.imageArray[this.activeImage].dom.href;