ui: 阻止 附件 點擊導致消息菜單彈出

This commit is contained in:
CrescentLeaf
2025-10-02 21:28:11 +08:00
parent de886dcfcc
commit edf35b7dd0

View File

@@ -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)
}
})