2
0
Fork 0

add more requirements for fafa399d

This commit is contained in:
notfire 2025-08-15 18:26:17 -04:00
commit 75ed21410f
No known key found for this signature in database

View file

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