diff --git a/resources/views/portal/ninja2020/gateways/authorize/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/authorize/credit_card/pay.blade.php index 74c6f31ac980..e64c22b33672 100644 --- a/resources/views/portal/ninja2020/gateways/authorize/credit_card/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/authorize/credit_card/pay.blade.php @@ -83,7 +83,7 @@ $(function() { document.getElementsByName('expiry-month')[0].setAttribute("x-autocompletetype", "cc-exp-month"); document.getElementsByName('expiry-month')[0].setAttribute("autocompletetype", "cc-exp-month"); document.getElementsByName('expiry-month')[0].setAttribute("autocomplete", "on"); -document.getElementsByName('expiry')[0].setAttribute("autocomplete", "on"); +document.getElementsByClassName('expiry')[0].setAttribute("autocomplete", "on"); document.getElementsByName('expiry-year')[0].setAttribute("x-autocompletetype", "cc-exp-year"); document.getElementsByName('expiry-year')[0].setAttribute("autocompletetype", "cc-exp-year");