mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not trigger customer lookup when pressing enter to avoid duplicate otp modal
This commit is contained in:
parent
c13b9b2621
commit
b6f913d9db
1 changed files with 0 additions and 1 deletions
|
@ -160,7 +160,6 @@ class AxoManager {
|
|||
this.$('form.woocommerce-checkout input').on('keydown', async (ev) => {
|
||||
if(ev.key === 'Enter' && getCurrentPaymentMethod() === 'ppcp-axo-gateway' ) {
|
||||
ev.preventDefault();
|
||||
await this.lookupCustomerByEmail();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue