Fixes in popup
This commit is contained in:
parent
106db6afd0
commit
50b1d9fd4f
1 changed files with 5 additions and 3 deletions
8
popup.js
8
popup.js
|
|
@ -213,6 +213,8 @@ $=jQuery;
|
|||
|
||||
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;
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue