Skip to content

Commit

Permalink
Merge pull request PrestaShop#37583 from Shivam7-1/patch-5
Browse files Browse the repository at this point in the history
Update iframe-modal.ts DOM Text Interpreted As HTML
  • Loading branch information
nicosomb authored Dec 13, 2024
2 parents c8b9657 + d5652d7 commit a4822a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class IframeModalContainer extends ModalContainer implements IframeModalC
this.closeButton.setAttribute('type', 'button');
this.closeButton.classList.add('btn', 'btn-outline-secondary', 'btn-lg');
this.closeButton.dataset.dismiss = 'modal';
this.closeButton.innerHTML = params.closeButtonLabel;
this.closeButton.innerText = params.closeButtonLabel;
this.footer.append(this.closeButton);
}

Expand Down

0 comments on commit a4822a6

Please sign in to comment.