Flyover: select #main instead of div#main

This commit is contained in:
Alexander A. Klimov 2017-11-27 16:51:55 +01:00
parent 59054dd01c
commit 48133aae91

View File

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