patx/afterdarklabs

cal.com update 2

Commit fab1bcc · patx · 2026-08-04T21:14:37-04:00

Changeset
fab1bcc649c7de54f3531a680c0a17a61185f86f
Parents
80d3fc9caf8d4de2a6a66645d840078464f62471

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/index.html b/docs/index.html
index b0acc8a..9afd709 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -644,6 +644,11 @@
                     cal.q = cal.q || [];
                     const script = document.createElement('script');
                     script.src = A;
+                    script.addEventListener('load', () => {
+                        document.querySelectorAll('a[data-cal-link]').forEach(link => {
+                            link.addEventListener('click', event => event.preventDefault());
+                        });
+                    });
                     document.head.appendChild(script);
                     cal.loaded = true;
                 }