18 lines
312 B
JavaScript
18 lines
312 B
JavaScript
/* global $, ajaxurl */
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import { jQueryReady } from 'utils/jquery.js';
|
|
|
|
jQueryReady( () => {
|
|
|
|
$( '.download_page_edd-payment-history .row-actions .delete a' ).on( 'click', function() {
|
|
if( confirm( edd_vars.delete_payment ) ) {
|
|
return true;
|
|
}
|
|
return false;
|
|
});
|
|
|
|
} );
|