projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53db108
)
ux/Lightbox.js
author
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:36:07 +0000
(18:36 +0800)
committer
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:36:07 +0000
(18:36 +0800)
ux/Lightbox.js
patch
|
blob
|
history
diff --git
a/ux/Lightbox.js
b/ux/Lightbox.js
index
4ee683d
..
d2bcbc7
100644
(file)
--- a/
ux/Lightbox.js
+++ b/
ux/Lightbox.js
@@
-460,7
+460,7
@@
Roo.apply(Roo.ux.Lightbox.prototype,
// resizeImageContainer()
//
resizeImageContainer: function(imgWidth, imgHeight) {
- Roo.log(imgWidth);
+
// make sure we have some sensible sizes..
imgWidth = Math.max(50, imgWidth);
imgHeight = Math.max(50, imgHeight);