We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915b493 commit 91c7bfaCopy full SHA for 91c7bfa
app/code/Magento/AuthorizenetAcceptjs/view/adminhtml/templates/payment/script.phtml
@@ -15,11 +15,10 @@
15
'domReady!'
16
], function(AuthorizenetAcceptjs, $) {
17
var config = <?= /* @noEscape */ $block->getPaymentConfig() ?>,
18
- payment,
19
form = $('#payment_form_<?= /* @noEscape */ $block->escapeJs($block->escapeHtml($block->getMethodCode())) ?>');
20
21
config.active = form.length > 0 && !form.is(':hidden');
22
- payment = new AuthorizenetAcceptjs(config);
+ new AuthorizenetAcceptjs(config);
23
});
24
//]]>
25
</script>
0 commit comments