projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed38108
)
ux/Lightbox.js
author
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:35:03 +0000
(18:35 +0800)
committer
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:35:03 +0000
(18:35 +0800)
ux/Lightbox.js
patch
|
blob
|
history
diff --git
a/ux/Lightbox.js
b/ux/Lightbox.js
index
11ad73d
..
475ce0b
100644
(file)
--- 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.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 ||
imgPreloader.remove();
}, this);
imgPreloader.dom.src = this.imageArray[this.activeImage].href ||