find inside status-content div only
This commit is contained in:
parent
09efcb48a4
commit
17ad5bbdf9
|
@ -323,7 +323,7 @@ const Status = {
|
|||
},
|
||||
linkClicked (event) {
|
||||
let { target } = event
|
||||
target = target.tagName === 'A' ? target : target.closest('a')
|
||||
target = target.tagName === 'A' ? target : target.closest('.status-content a')
|
||||
if (target) {
|
||||
if (target.className.match(/mention/)) {
|
||||
const href = target.href
|
||||
|
|
Loading…
Reference in New Issue