Roo/bootstrap/Img.js
authoredward <edward@roojs.com>
Wed, 13 Jan 2016 03:32:19 +0000 (11:32 +0800)
committeredward <edward@roojs.com>
Wed, 13 Jan 2016 03:32:19 +0000 (11:32 +0800)
Roo/bootstrap/Img.js

index f6e441d..e80ea4a 100644 (file)
@@ -76,6 +76,8 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component,  {
                 src: this[size]
             }
             
+            img.cls += ' roo-image-responsive-' + size;
+            
             if (['rounded','circle','thumbnail'].indexOf(this.border)>-1) {
                 cfg.cls += ' img-' + this.border;
             }