projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #5718 - Change the order / layout of tabs. / new master lists
[roojs1]
/
ux
/
Lightbox.js
diff --git
a/ux/Lightbox.js
b/ux/Lightbox.js
index
ce12fba
..
1091755
100644
(file)
--- a/
ux/Lightbox.js
+++ b/
ux/Lightbox.js
@@
-482,7
+482,7
@@
Roo.apply(Roo.ux.Lightbox.prototype,
var widthNew = imgWidth + bs;
var heightNew = imgHeight + bs;
- Roo.log(widthNew);
+
if (widthNew > ww || heightNew > wh) {
// bigger than window.
// scale here... - bit nasty..