Skip to content

Commit

Permalink
feat: allow usage of {data-id} placeholder inside notice text (close
Browse files Browse the repository at this point in the history
  • Loading branch information
orestbida committed Sep 6, 2024
1 parent 7e85d58 commit 1dff7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iframemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
if(!serviceProp._hasNotice && languages){
const lang = languages[currLang];
const loadBtnText = lang && lang.loadBtn;
const noticeText = lang && lang.notice;
const noticeText = lang && (lang.notice || '').replace(DATA_ID_PLACEHOLDER, serviceProp._id);
const loadAllBtnText = lang && lang.loadAllBtn;

const fragment = doc.createElement('div');
Expand Down

0 comments on commit 1dff7c3

Please sign in to comment.