Closed ofry closed 4 years ago
If I set smth like:
$('.widget').collapse({ open: function() { console.log(this); this.slideDown(200); }, close: function() { console.log(this); this.slideUp(200); }, query: 'div.whead', clickQuery: 'i.icon-eject', });
it doesn't work when I click on icon
<I class="iconb icon-eject" aria-hidden="true"></I>
Setting clickQuery to outer div solves this problem.
If I set smth like:
it doesn't work when I click on icon
Setting clickQuery to outer div solves this problem.