Collapse all expanded flyovers on any click not inside any flyover

This commit is contained in:
Alexander A. Klimov 2017-11-27 16:35:18 +01:00
parent 8afd2f8a32
commit 59054dd01c
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
if (! $target.closest('.flyover').length) {
var _this = event.data.self;
$target.closest('.container').find('.flyover.flyover-expanded').each(function() {
$target.closest('div#main').find('.flyover.flyover-expanded').each(function() {
$(this).find('.flyover-toggle:first').each(function() {
_this.onClickFlyoverToggle({target: this});
});