Skip to content

Commit

Permalink
Removed whitespaces in javascript/paypal/paypal.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jun 7, 2024
1 parent dbf9cc4 commit 29c8c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/catalog/view/javascript/paypal/paypal.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var PayPalAPI = (function () {
src_data['currency'] = paypal_data['currency_code'];
src_data['intent'] = paypal_data['transaction_method'];
src_data['locale'] = paypal_data['locale'];

if (paypal_data['button_enable_funding'] && paypal_data['button_enable_funding'].length) {
src_data['enable-funding'] = paypal_data['button_enable_funding'].join(',');
}
Expand Down Expand Up @@ -831,10 +831,10 @@ var PayPalAPI = (function () {

$('#applepay_button_container').removeClass('paypal-spinner');
};

var init = async function(callback = '') {
await updatePayPalData();

paypal_callback = callback;

loadPayPalSDK();
Expand Down

0 comments on commit 29c8c0f

Please sign in to comment.