mirror of
https://github.com/LingChair/LingChair-V0.git
synced 2025-12-07 09:35:49 +08:00
fix: chat tab(progress: 40%)
This commit is contained in:
@@ -88,5 +88,6 @@
|
||||
.message-image {
|
||||
max-width: 40%;
|
||||
max-height: 40%;
|
||||
margin: -5px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
@@ -334,7 +334,7 @@ class ChatTabManager {
|
||||
})
|
||||
menu.open()
|
||||
}
|
||||
viewBinding.chatTab.on('contextmenu click', 'a[tag=chatTab]', (e) => {
|
||||
viewBinding.chatTab.on('contextmenu dblclick', 'a[tag=chatTab]', (e) => {
|
||||
let eventType = e.type
|
||||
let self = $(e.target)
|
||||
|
||||
@@ -344,8 +344,8 @@ class ChatTabManager {
|
||||
e.preventDefault() // 阻止默认行为
|
||||
callback(self)
|
||||
break
|
||||
case 'click':
|
||||
if (!isMobile()) return
|
||||
case 'dblclick':
|
||||
//if (!isMobile()) return
|
||||
callback(self)
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user