File tree Expand file tree Collapse file tree
packages/features/embed/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ export default function Booker( props : BookerProps ) {
244244 namespace : string ;
245245 } ) => {
246246 return code `${ getApiNameForVanillaJsSnippet ( { namespace, mainApiName : "Cal" } ) } ("inline", {
247- elementOrSelector:"#my-cal-inline",
247+ elementOrSelector:"#my-cal-inline- ${ namespace } ",
248248 config: ${ JSON . stringify ( previewState . config ) } ,
249249 calLink: "${ calLink } ",
250250 });
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const tabs = [
5959 embedType === "inline"
6060 ? `<div style="width:${ getDimension ( previewState . inline . width ) } ;height:${ getDimension (
6161 previewState . inline . height
62- ) } ;overflow:scroll" id="my-cal-inline"></div>\n`
62+ ) } ;overflow:scroll" id="my-cal-inline- ${ namespace } "></div>\n`
6363 : ""
6464 } <script type="text/javascript">
6565 ${ embedSnippetString }
You can’t perform that action at this time.
0 commit comments