fix: Memory leak with cal embed modal box (#17016)

This commit is contained in:
Steve Xu authored and GitHub committed 2024-10-14 12:42:57 -04:00
1 parent c2085c6be9
commit c140b01548
1 file changed
+2
+2
View File
@@ -689,6 +689,8 @@ class CalApi {
if (__prerender) {
this.preloadedModalUid = uid;
} else {
this.modalUid = uid;
}
if (typeof config.iframeAttrs === "string" || config.iframeAttrs instanceof Array) {