mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add js script for my account payments screen
This commit is contained in:
parent
fc488a3497
commit
e78e81227a
9 changed files with 97 additions and 41 deletions
|
@ -1,5 +1,9 @@
|
|||
document.addEventListener(
|
||||
'DOMContentLoaded',
|
||||
() => {
|
||||
console.log('fooooo')
|
||||
jQuery('.ppcp-delete-payment-button').click(async (event) => {
|
||||
event.preventDefault();
|
||||
|
||||
console.log(event.target.id)
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue