Fixes in popup

This commit is contained in:
absurdo 2024-01-11 00:14:00 +01:00
parent 106db6afd0
commit 50b1d9fd4f

View file

@ -212,6 +212,8 @@ $=jQuery;
var after_show=false;
var after_click=false;
var popup_container=false;
if(options!=undefined)
{
@ -314,7 +316,7 @@ $=jQuery;
});
$('.close_popup').click(function () {
$(popup).find('.close_popup').click(function () {
if(after_click)
{
@ -323,12 +325,12 @@ $=jQuery;
}
$(popup).hide();
$(popup).appendTo('body');
$('#layer_popup').remove();
$(popup).hide();
return false;
});