projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd73a4
)
Roo/bootstrap/Img.js
author
edward
<edward@roojs.com>
Wed, 13 Jan 2016 03:57:00 +0000
(11:57 +0800)
committer
edward
<edward@roojs.com>
Wed, 13 Jan 2016 03:57:00 +0000
(11:57 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
3786e20
..
8ec3474
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-66,8
+66,7
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
var _this = this;
Roo.each(['xs', 'sm', 'md', 'lg'], function(size){
- Roo.log(size);
- Roo.log(_this[size + 'Url']);
+
if(!_this[size + 'Url']){
return;
}
@@
-76,7
+75,7
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
tag: 'img',
cls: (_this.imgResponsive) ? 'img-responsive' : '',
html: _this.html || cfg.html,
- src: _this[size]
+ src: _this[size
+ 'Url'
]
}
img.cls += ' roo-image-responsive-' + size;