mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Improve JS variable declaration
This commit is contained in:
parent
54596fc108
commit
f3a0c0d0ce
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ document.addEventListener(
|
|||
}
|
||||
|
||||
let checkedLocations = document.querySelectorAll(messagingLocationsSelector + ' :checked');
|
||||
let selectedLocations = [...checkedLocations].map(option => option.value);
|
||||
const selectedLocations = [...checkedLocations].map(option => option.value);
|
||||
|
||||
const messagingInputSelectors = payLaterMessagingInputSelectorsByLocations(selectedLocations);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue