mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Merge pull request #1702 from woocommerce/PCP-2017-subtotal-mismatch-line-name-shows-on-account-settings-page-when-merchant-is-disconnected
Subtotal mismatch line name shows on Account settings page when merchant is disconnected (2017)
This commit is contained in:
commit
af60282678
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ class SubElementsHandler {
|
||||||
value = (value !== null ? value.toString() : value);
|
value = (value !== null ? value.toString() : value);
|
||||||
|
|
||||||
if (this.values.indexOf(value) !== -1) {
|
if (this.values.indexOf(value) !== -1) {
|
||||||
$elements.show();
|
$elements.removeClass('hide');
|
||||||
} else {
|
} else {
|
||||||
$elements.hide();
|
$elements.addClass('hide');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue