roojs-bootstrap.js
authorAlan Knowles <alan@roojs.com>
Wed, 31 Mar 2021 09:47:23 +0000 (17:47 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 31 Mar 2021 09:47:23 +0000 (17:47 +0800)
roojs-bootstrap-debug.js
Roo/bootstrap/Card.js

Roo/bootstrap/Card.js

index 06b7b62..ed69fdb 100644 (file)
@@ -409,7 +409,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
             this.fireEvent('rotate', this, true);
         }
         this.header_imageEl = this.el.select('.card-img-top',true).first(); 
-        this.header_imageEl.on('load', this.onHeaderImageLoad, this, [ this.header_imageEl ]);
+        this.header_imageEl.on('load', this.onHeaderImageLoad, this );
         
     },
     getDragData : function(e)