Skip to content

Commit

Permalink
Update abstract.js
Browse files Browse the repository at this point in the history
  • Loading branch information
olegisk committed Apr 18, 2021
1 parent 92e601c commit 6d24aab
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ define([
$(document).on('click', '.payment-method._active div[data-role=checkout-agreements] input', function () {
var selected = $('input[name="payment[method]"]:checked').val();
if (selected === code) {
if (agreement() === true) {
$('.payment-method._active .iframe-wrap').show();
} else {
$('.payment-method._active .iframe-wrap').hide();
}
$('.payment-method._active .iframe-wrap').show();
}
});

Expand Down

0 comments on commit 6d24aab

Please sign in to comment.