← All changes
|
modules/simple-payments/paypal-express-checkout.js
+4
-4
12.0.3
→
16.3-beta
View file →
| @@ -68,9 +68,9 @@ | ||
| 68 | 68 | /** |
| 69 | 69 | * Get the DOM element-placeholder used to show message |
| 70 | 70 | * about the transaction. If it doesn't exist then the function will create a new one. |
| 71 | 71 | * |
| 72 | - * @param string domId id of the payment button placeholder | |
| 72 | + * @param string domId id of the payment button placeholder | |
| 73 | 73 | * @return Element the dom element to print the message |
| 74 | 74 | */ |
| 75 | 75 | getMessageContainer: function ( domId ) { |
| 76 | 76 | return document.getElementById( domId + '-message-container' ); |
| @@ -80,11 +80,11 @@ | ||
| 80 | 80 | * Show a messange close to the Paypal button. |
| 81 | 81 | * Use this function to give feedback to the user according |
| 82 | 82 | * to the transaction result. |
| 83 | 83 | * |
| 84 | - * @param {String} message message to show | |
| 85 | - * @param {String} domId paypal-button element dom identifier | |
| 86 | - * @param {Boolean} [error] defines if it's a message error. Not TRUE as default. | |
| 84 | + * @param {String} message message to show | |
| 85 | + * @param {String} domId paypal-button element dom identifier | |
| 86 | + * @param {Boolean} [error] defines if it's a message error. Not TRUE as default. | |
| 87 | 87 | */ |
| 88 | 88 | showMessage: function ( message, domId, isError ) { |
| 89 | 89 | var domEl = PaypalExpressCheckout.getMessageContainer( domId ); |
| 90 | 90 | |