diff --git a/client/ui/custom-elements/chat-video.ts b/client/ui/custom-elements/chat-video.ts index 36049b9..6b77a55 100644 --- a/client/ui/custom-elements/chat-video.ts +++ b/client/ui/custom-elements/chat-video.ts @@ -11,6 +11,7 @@ customElements.define('chat-video', class extends HTMLElement { e.style.height = "100%" e.style.borderRadius = "var(--mdui-shape-corner-medium)" e.src = $(this).attr('src') as string + e.onclick = (e) => e.stopPropagation() this.appendChild(e) } })