mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Fix coding styles, psalm
This commit is contained in:
parent
b3f858d4b3
commit
cc0e4db916
11 changed files with 226 additions and 178 deletions
|
@ -16,7 +16,7 @@ document.addEventListener(
|
|||
|
||||
function toggleLineItemsSelectbox() {
|
||||
const selectContainer = document.getElementById('items-select-container');
|
||||
includeAllItemsCheckbox.addEventListener('change', function(){
|
||||
includeAllItemsCheckbox?.addEventListener('change', function(){
|
||||
selectContainer.style.display = includeAllItemsCheckbox.checked ? 'none' : 'block';
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue