We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c07c55 commit f287c60Copy full SHA for f287c60
app/code/Magento/Payment/view/frontend/web/js/view/payment/cc-form.js
@@ -185,13 +185,21 @@ define([
185
* Get image for CVV
186
* @returns {String}
187
*/
188
- getCvvImageUnsanitizedHtml: function () {
+ getCvvImageHtml: function () {
189
return '<img src="' + this.getCvvImageUrl() +
190
'" alt="' + $t('Card Verification Number Visual Reference') +
191
'" title="' + $t('Card Verification Number Visual Reference') +
192
'" />';
193
},
194
195
+ /**
196
+ * Get unsanitized html for image for CVV
197
+ * @returns {String}
198
+ */
199
+ getCvvImageUnsanitizedHtml: function () {
200
+ return this.getCvvImageHtml();
201
+ },
202
+
203
/**
204
* @deprecated
205
* @returns {Object}
0 commit comments