mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #537 from woocommerce/PCP-576-place-order-button-looking-unstyled
Add "Type" attribute to checkout button
This commit is contained in:
commit
eb7dbbcf9e
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ class SmartButton implements SmartButtonInterface {
|
|||
|
||||
printf(
|
||||
'<div id="%1$s" style="display:none;">
|
||||
<button class="button alt ppcp-dcc-order-button">%2$s</button>
|
||||
<button type="submit" class="button alt ppcp-dcc-order-button">%2$s</button>
|
||||
</div><div id="payments-sdk__contingency-lightbox"></div><style id="ppcp-hide-dcc">.payment_method_ppcp-credit-card-gateway {display:none;}</style>',
|
||||
esc_attr( $id ),
|
||||
esc_html( $label )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue