This commit is contained in:
Romit
2025-06-28 14:30:54 +05:30
committed by GitHub
parent 93e183e6c3
commit e27e41bc16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ export default function Booker( props : BookerProps ) {
namespace: string;
}) => {
return code`${getApiNameForVanillaJsSnippet({ namespace, mainApiName: "Cal" })}("inline", {
elementOrSelector:"#my-cal-inline",
elementOrSelector:"#my-cal-inline-${namespace}",
config: ${JSON.stringify(previewState.config)},
calLink: "${calLink}",
});
+1 -1
View File
@@ -59,7 +59,7 @@ export const tabs = [
embedType === "inline"
? `<div style="width:${getDimension(previewState.inline.width)};height:${getDimension(
previewState.inline.height
)};overflow:scroll" id="my-cal-inline"></div>\n`
)};overflow:scroll" id="my-cal-inline-${namespace}"></div>\n`
: ""
}<script type="text/javascript">
${embedSnippetString}