X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo_bootstrap_Img.js.html;h=e3b89e2c410c39046a3b2b811326aaec605adee6;hb=55eaa96bc7c2a974413f6ef4c4f60fab80b13320;hp=52fcac22224dd995ef32fa722f7b289a705b0d05;hpb=3001f1efb6975abb2b30a6fc08bff0b7cc29f59f;p=roojs1 diff --git a/docs/symbols/src/Roo_bootstrap_Img.js.html b/docs/symbols/src/Roo_bootstrap_Img.js.html index 52fcac2222..e3b89e2c41 100644 --- a/docs/symbols/src/Roo_bootstrap_Img.js.html +++ b/docs/symbols/src/Roo_bootstrap_Img.js.html @@ -176,7 +176,14 @@ setSrc : function(url) { - this.el.dom.src = url; + this.src = url; + + if(this.src || (!this.xsUrl && !this.smUrl && !this.mdUrl && !this.lgUrl)){ + this.el.dom.src = url; + return; + } + + this.el.select('img', true).first().dom.src = url; }