add more requirements for fafa399d
This commit is contained in:
parent
9d80c91bba
commit
75ed21410f
1 changed files with 2 additions and 1 deletions
|
|
@ -536,9 +536,10 @@ const Status = {
|
||||||
},
|
},
|
||||||
goToThread (id, e) {
|
goToThread (id, e) {
|
||||||
if (this.$store.getters.mergedConfig.clickEmptyToOpenConversation) {
|
if (this.$store.getters.mergedConfig.clickEmptyToOpenConversation) {
|
||||||
|
console.log(e.target)
|
||||||
let targetType = e.target.tagName
|
let targetType = e.target.tagName
|
||||||
let targetClasses = e.target.className
|
let targetClasses = e.target.className
|
||||||
if ((targetType !== "DIV" && targetType !== "SPAN") || (targetType === "SPAN" && targetClasses.length === 0) || (targetClasses.includes("userName") || targetClasses.includes("form-bottom") || targetClasses.includes("visibility-tray")))
|
if ((targetType !== "DIV" && targetType !== "SPAN") || (targetType === "SPAN" && targetClasses.length === 0) || (targetClasses.includes("userName") || targetClasses.includes("form-bottom") || targetClasses.includes("visibility-tray") || targetClasses.includes("reply-form") || targetClasses.includes("post-status-form") || targetClasses.includes("form-group") || targetClasses.includes("preview-status")))
|
||||||
return
|
return
|
||||||
this.$router.push({ name: 'conversation', params: { id: id } })
|
this.$router.push({ name: 'conversation', params: { id: id } })
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue