Handle multiple toggles per flyover
This commit is contained in:
parent
fcd734ccbb
commit
8afd2f8a32
|
@ -44,8 +44,10 @@
|
|||
|
||||
if (! $target.closest('.flyover').length) {
|
||||
var _this = event.data.self;
|
||||
$target.closest('.container').find('.flyover.flyover-expanded .flyover-toggle').each(function() {
|
||||
_this.onClickFlyoverToggle({target: this});
|
||||
$target.closest('.container').find('.flyover.flyover-expanded').each(function() {
|
||||
$(this).find('.flyover-toggle:first').each(function() {
|
||||
_this.onClickFlyoverToggle({target: this});
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue