projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32664d8
)
Roo/bootstrap/Img.js
author
Alan Knowles
<alan@roojs.com>
Fri, 1 Sep 2017 05:18:50 +0000
(13:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 1 Sep 2017 05:18:50 +0000
(13:18 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
fa1ca55
..
e1312b7
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-176,7
+176,8
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
setSrc : function(url)
{
- this.el.dom.src = url;
+ this.src = url;
+ this.el.select('img', true).first().dom.src = url;
}