Skip to content

Commit

Permalink
Fix #36 hide proceed modal when iframe is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed Nov 28, 2018
1 parent fccbed0 commit 349e271
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PaymentsAPI/worldpay/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ jQuery('document').ready(function() {
}
$_iframe_visible = function() {
if (Worldpay.templateFormVisible) {
$('#_iframe_price').fadeIn('slow');
$('#_iframe_price').fadeIn();
$('.qp_payment_modal').fadeOut();
window.setTimeout($_iframe_invisible, 50);
} else {
window.setTimeout($_iframe_visible, 50);
Expand Down

0 comments on commit 349e271

Please sign in to comment.