Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jan 16, 2024
1 parent 1eac781 commit 6e2dc7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/twig/payment/adyen_assets.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
{% if oViewConf.getTopActiveClassName() == 'payment' %}
{% set isPaymentPage = true %}
submitForm = document.getElementById('payment');
{# getting checkout next step button with fallback for apex theme #}
{# ToDo: create a better way to access 'next step' element #}
const nextStepEl = document.getElementsByClassName('btn-highlight')[0];
const nextStepEl = document.getElementsByClassName('btn-highlight')[0];
{# reset the disabled-status of paymentNextStepBottom if payment is changed #}
document.getElementsByName('paymentid').forEach(function (e) {
e.addEventListener('change', function () {
Expand Down

0 comments on commit 6e2dc7b

Please sign in to comment.