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

index fbe00a7..5544900 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.on('load', this.onHeaderImageLoad, this, [ this.header_imageEl ]);
         
     },
     getDragData : function(e)