Skip to content

Commit 918b304

Browse files
Denys FedotovDenys Fedotov
authored andcommitted
[MWPW-177346]: added hot fix for AI checkbox
1 parent 5169583 commit 918b304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acrobat/blocks/dc-merch-card-checkbox/dc-merch-card-checkbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function getKey(fragmentPath, defaultKey, obj) {
9595
return defaultKey;
9696
}
9797
function getAIPriceEl(card) {
98-
return card.querySelector(`${CALLOUT_SELECTOR} [is="inline-price"]`);
98+
return card.querySelector(`${CALLOUT_SELECTOR} [is="inline-price"]`) || card.querySelector('[slot="addon"] [is="inline-price"]');
9999
}
100100
function sendCheckboxAnalytics(fragAudience, cardPlanType, checked) {
101101
const msg = `${fragAudience}-${cardPlanType}-checkbox-${checked ? 'checked' : 'unchecked'}`;

0 commit comments

Comments
 (0)