Skip to content

Commit b8c7bb1

Browse files
author
hwyu@adobe.com
committed
MC-38985: Disable clipboard for cc inputs
- Resolved static test failure
1 parent ec37864 commit b8c7bb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Payment/view/frontend/web/js/view/payment/cc-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ define([
185185
* Get image for CVV
186186
* @returns {String}
187187
*/
188-
getCvvImageHtml: function () {
188+
getCvvImageUnsanitizedHtml: function () {
189189
return '<img src="' + this.getCvvImageUrl() +
190190
'" alt="' + $t('Card Verification Number Visual Reference') +
191191
'" title="' + $t('Card Verification Number Visual Reference') +

app/code/Magento/Payment/view/frontend/web/template/payment/cc-form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
</span>
126126
<div class="field-tooltip-content"
127127
data-target="dropdown"
128-
data-bind="html: getCvvImageHtml()"></div>
128+
data-bind="html: getCvvImageUnsanitizedHtml()"></div>
129129
</div>
130130
</div>
131131
</div>

0 commit comments

Comments
 (0)