updated plugin Easy Digital Downloads
version 3.1.0.4
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -8,10 +8,19 @@ domReady( () => {
|
||||
const containerEl = document.getElementById( 'edds-stripe-connect-account' );
|
||||
const actionsEl = document.getElementById( 'edds-stripe-disconnect-reconnect' );
|
||||
|
||||
|
||||
if ( ! containerEl ) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Do not make a request, if we are inside Onboarding Wizard.
|
||||
* Onboarding Wizard will make it's own call.
|
||||
*/
|
||||
if ( containerEl.hasAttribute('data-onboarding-wizard') ) {
|
||||
return;
|
||||
}
|
||||
|
||||
return apiRequest( 'edds_stripe_connect_account_info', {
|
||||
...containerEl.dataset,
|
||||
} )
|
||||
|
Reference in New Issue
Block a user