ui: 微調消息菜單
* 仿照電報邏輯 * 添加 JsonView
This commit is contained in:
@@ -29,7 +29,8 @@ customElements.define('chat-image', class extends HTMLElement {
|
||||
})
|
||||
}
|
||||
e.src = $(this).attr('src') as string
|
||||
e.onclick = () => {
|
||||
e.onclick = (event) => {
|
||||
event.stopPropagation()
|
||||
openImageViewer($(this).attr('src') as string)
|
||||
}
|
||||
this.appendChild(e)
|
||||
|
||||
Reference in New Issue
Block a user