Roo/bootstrap/Card.js
authorAlan Knowles <alan@roojs.com>
Mon, 16 Nov 2020 03:37:10 +0000 (11:37 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 16 Nov 2020 03:37:10 +0000 (11:37 +0800)
Roo/bootstrap/Card.js

index 08f7c41..1ebe55b 100644 (file)
@@ -344,7 +344,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
        }
         
         if (this.collapsable) {
-           this.el.select('.card-body .pull-right',true).on('click', this.onToggleCollapse, this);
+           this.el.select('.card-header',true).on('click', this.onToggleCollapse, this);
        }
     },
     getDragData : function(e) {