projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
236e9e2
)
ux/Lightbox.js
author
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:39:07 +0000
(18:39 +0800)
committer
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 10:39:07 +0000
(18:39 +0800)
ux/Lightbox.js
patch
|
blob
|
history
diff --git
a/ux/Lightbox.js
b/ux/Lightbox.js
index
ce12fba
..
b6b677d
100644
(file)
--- a/
ux/Lightbox.js
+++ b/
ux/Lightbox.js
@@
-483,6
+483,7
@@
Roo.apply(Roo.ux.Lightbox.prototype,
var widthNew = imgWidth + bs;
var heightNew = imgHeight + bs;
Roo.log(widthNew);
+ Roo.log(ww);
if (widthNew > ww || heightNew > wh) {
// bigger than window.
// scale here... - bit nasty..