fix: Avoid double popups

This commit is contained in:
Sidharth Vinod
2026-03-25 17:03:04 +09:00
parent ab760f35fa
commit c675dc02e9
+3 -1
View File
@@ -42,7 +42,9 @@ const isReferredFromMermaid = (): boolean => {
hostname === 'mermaid.ai' || hostname === 'mermaid.ai' ||
hostname.endsWith('.mermaid.ai') || hostname.endsWith('.mermaid.ai') ||
hostname === 'mermaid.js.org' || hostname === 'mermaid.js.org' ||
hostname.endsWith('.mermaid.js.org') hostname.endsWith('.mermaid.js.org') ||
hostname === 'mermaid.live' ||
hostname.endsWith('.mermaid.live')
); );
} catch { } catch {
return false; return false;