From 6d24aabce2698ace83e42c80716c92488cf22e70 Mon Sep 17 00:00:00 2001 From: Oleg Iskusnyh Date: Sun, 18 Apr 2021 21:20:32 +0600 Subject: [PATCH] Update abstract.js --- .../web/js/view/payment/method-renderer/abstract.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/abstract.js b/view/frontend/web/js/view/payment/method-renderer/abstract.js index 45c27a6..ebca7b4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/abstract.js +++ b/view/frontend/web/js/view/payment/method-renderer/abstract.js @@ -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(); } });