Merge branch 'ticket-blockbestsellerProduct' into develop
This commit is contained in:
commit
18238f3c9d
@ -2,11 +2,13 @@
|
||||
{literal}
|
||||
|
||||
function hideExpressCart(event){
|
||||
if(".button.expresscart.active" == $(event.target)) {
|
||||
if($(".expresscart_frame:visible").length > 0) {
|
||||
event.data.m.removeClass('active');
|
||||
$(".expresscart_frame").slideUp();
|
||||
$("html").unbind("click", hideExpressCart);
|
||||
$(".expresscart_frame").remove();
|
||||
$('.close_popup_footer').remove();
|
||||
$("html").unbind("click", hideExpressCart);
|
||||
initButtons();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -33,9 +35,9 @@ function showExpressCart(event) {
|
||||
return false;
|
||||
});
|
||||
|
||||
$("html").bind("click", {m: m}, hideExpressCart);
|
||||
});
|
||||
}
|
||||
$("html").bind("click", {m: m}, hideExpressCart);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user